You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by hdoro July 30, 2024
I'm trying to use Tinybase with Tauri. I can store my data as a simple custom persister that saves a JSON of the Tinybase store, but that has a bigger overhead as I'd be writing/reading the entire data at every operation.
Instead, I'd like to leverage SQLite's smartness via Tauri's SQL plugin. From reading the sqlite persisters' code, I can see it leverages an internal createSqlitePersister, which I imagine could handle tauri/sql's db.execute (syntax from sqlx)?
As that's an internal module, I can't access it, and it's too tied into the repo to simply copy and paste, so I haven't tried it yet - could it work? 🤔