|
3 | 3 | Since v4.0, there are various options for persisting Store data to and from |
4 | 4 | SQLite databases, via a range of third-party modules. |
5 | 5 |
|
6 | | -There are currently five SQLite-based persistence options: |
7 | | - |
8 | | -| Module | Function | Storage | |
9 | | -| -------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------ | |
10 | | -| persister-sqlite3 | createSqlite3Persister | SQLite in Node, via [sqlite3](https://github.com/TryGhost/node-sqlite3) | |
11 | | -| persister-sqlite-wasm | createSqliteWasmPersister | SQLite in a browser, via [sqlite-wasm](https://github.com/tomayac/sqlite-wasm) | |
12 | | -| persister-cr-sqlite-wasm | createCrSqliteWasmPersister | SQLite CRDTs, via [cr-sqlite-wasm](https://github.com/vlcn-io/cr-sqlite) | |
13 | | -| persister-expo-sqlite | createExpoSqlitePersister | SQLite in React Native, via [expo-sqlite](https://github.com/expo/expo/tree/main/packages/expo-sqlite) | |
14 | | -| persister-expo-sqlite-next | createExpoNextSqlitePersister | SQLite in React Native, via [expo-sqlite](https://github.com/expo/expo/tree/main/packages/expo-sqlite) | |
| 6 | +There are currently eight SQLite-based persistence options: |
| 7 | + |
| 8 | +| Module | Function | Storage | |
| 9 | +| -------------------------- | ----------------------------- | ----------------------------------------------------------------------------------------------------------- | |
| 10 | +| persister-sqlite3 | createSqlite3Persister | SQLite in Node, via [sqlite3](https://github.com/TryGhost/node-sqlite3) | |
| 11 | +| persister-sqlite-wasm | createSqliteWasmPersister | SQLite in a browser, via [sqlite-wasm](https://github.com/tomayac/sqlite-wasm) | |
| 12 | +| persister-cr-sqlite-wasm | createCrSqliteWasmPersister | SQLite CRDTs, via [cr-sqlite-wasm](https://github.com/vlcn-io/cr-sqlite) | |
| 13 | +| persister-expo-sqlite | createExpoSqlitePersister | SQLite in React Native, via [expo-sqlite](https://github.com/expo/expo/tree/main/packages/expo-sqlite) | |
| 14 | +| persister-expo-sqlite-next | createExpoSqliteNextPersister | SQLite in React Native, via [expo-sqlite/next](https://github.com/expo/expo/tree/main/packages/expo-sqlite) | |
| 15 | +| persister-electric-sql | createElectricSqlPersister | Electric SQL, via [electric](https://github.com/electric-sql/electric) | |
| 16 | +| persister-libsql | createLibSqlPersister | LibSQL for Turso, via [libsql-client](https://github.com/tursodatabase/libsql-client-ts) | |
| 17 | +| persister-powersync | createPowerSyncPersister | PowerSync, via [powersync-sdk](https://github.com/powersync-ja/powersync-js) | |
15 | 18 |
|
16 | 19 | (Take a look at the |
17 | 20 | [vite-tinybase-ts-react-crsqlite](https://github.com/tinyplex/vite-tinybase-ts-react-crsqlite) |
|
0 commit comments