|
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 seven SQLite-based persistence options, and two for |
| 6 | +There are currently nine SQLite-based persistence options, and two for |
7 | 7 | PostgreSQL: |
8 | 8 |
|
9 | | -| Persister | Storage | |
10 | | -| --------------------- | ------------------------------------------------------------------------------------------------------ | |
11 | | -| Sqlite3Persister | SQLite in Node, via [sqlite3](https://github.com/TryGhost/node-sqlite3) | |
12 | | -| SqliteBunPersister | SQLite in Bun, via [bun:sqlite](https://bun.sh/docs/api/sqlite) | |
13 | | -| SqliteWasmPersister | SQLite in a browser, via [sqlite-wasm](https://github.com/tomayac/sqlite-wasm) | |
14 | | -| ExpoSqlitePersister | SQLite in React Native, via [expo-sqlite](https://github.com/expo/expo/tree/main/packages/expo-sqlite) | |
15 | | -| CrSqliteWasmPersister | SQLite CRDTs, via [cr-sqlite-wasm](https://github.com/vlcn-io/cr-sqlite) | |
16 | | -| ElectricSqlPersister | Electric SQL, via [electric](https://github.com/electric-sql/electric) | |
17 | | -| LibSqlPersister | LibSQL for Turso, via [libsql-client](https://github.com/tursodatabase/libsql-client-ts) | |
18 | | -| PowerSyncPersister | PowerSync, via [powersync-sdk](https://github.com/powersync-ja/powersync-js) | |
19 | | -| PostgresPersister | PostgreSQL, via [postgres](https://github.com/porsager/postgres) | |
20 | | -| PglitePersister | PostgreSQL, via [PGlite](https://github.com/electric-sql/pglite) | |
| 9 | +| Persister | Storage | |
| 10 | +| -------------------------- | ---------------------------------------------------------------------------------------------------------------- | |
| 11 | +| Sqlite3Persister | SQLite in Node, via [sqlite3](https://github.com/TryGhost/node-sqlite3) | |
| 12 | +| SqliteBunPersister | SQLite in Bun, via [bun:sqlite](https://bun.sh/docs/api/sqlite) | |
| 13 | +| SqliteWasmPersister | SQLite in a browser, via [sqlite-wasm](https://github.com/tomayac/sqlite-wasm) | |
| 14 | +| ExpoSqlitePersister | SQLite in React Native, via [expo-sqlite](https://github.com/expo/expo/tree/main/packages/expo-sqlite) | |
| 15 | +| ReactNativeSqlitePersister | SQLite in React Native, via [react-native-sqlite-storage](https://github.com/andpor/react-native-sqlite-storage) | |
| 16 | +| CrSqliteWasmPersister | SQLite CRDTs, via [cr-sqlite-wasm](https://github.com/vlcn-io/cr-sqlite) | |
| 17 | +| ElectricSqlPersister | Electric SQL, via [electric](https://github.com/electric-sql/electric) | |
| 18 | +| LibSqlPersister | LibSQL for Turso, via [libsql-client](https://github.com/tursodatabase/libsql-client-ts) | |
| 19 | +| PowerSyncPersister | PowerSync, via [powersync-sdk](https://github.com/powersync-ja/powersync-js) | |
| 20 | +| PostgresPersister | PostgreSQL, via [postgres](https://github.com/porsager/postgres) | |
| 21 | +| PglitePersister | PostgreSQL, via [PGlite](https://github.com/electric-sql/pglite) | |
21 | 22 |
|
22 | 23 | Each creation function takes a database reference, and a DatabasePersisterConfig |
23 | 24 | object to describe its configuration. There are two modes for persisting a Store |
|
0 commit comments