Tabular MergeableStore persistence on Postgres/Sqlite #189
Replies: 1 comment 1 reply
-
So the challenge here is that even if we support a tabular view of the data in the database, there still needs to be a place to store the CRDT metadata (in the same columns or in parallel tables). Again, that will still be very difficult to modify correctly on the server unless it's done by TinyBase. For example you wouldn't be able to just update a cell in a sqlite table and have it propagate because the the timestamp and hash in that other table would need to change (correctly) too. The most fidelitous approach would be to have a TinyBase client on the server side that updates the data (and takes care of the metadata correctly). Open to other ideas here! (triggers? 🤣) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there!
First off all thanks for this project; it has been incredibly helpful.
I was wondering if there are any plans in the future to support tabular MergeableStore persistence on Postgres/SQLite? I believe this would be amazing.
Currently, manipulating the state on the server side with the JSON CRDT format is quite challenging.
Or if there's at least a way to transform the CRDT json to a tabular form somehow.
Beta Was this translation helpful? Give feedback.
All reactions