Open
Description
Currently SQLSync wraps SQLite in order to carefully control how SQLite behaves and improve the user experience of using SQLSync. But this makes SQLSync harder to port to new SQLite environments.
This feature request is to build a version of SQLSync that can run entirely within SQLite as a native extension.
Things to figure out:
- What does the mutation/reducer layers look like? If the reducer continues to be Wasm, it can run internally; alternatively SQLSync can somehow call out to the host to run mutations when needed.
- How easy is it for SQLSync to have a private timelines table if it's entirely inside the SQLite engine?
- Will need to add some pragmas/custom functions to inspect and control SQLSync from the host