Skip to content

Commit 23fdb72

Browse files
committed
[rn] Guides
1 parent 031a6d2 commit 23fdb72

File tree

3 files changed

+36
-33
lines changed

3 files changed

+36
-33
lines changed

site/guides/04_persistence/1_an_intro_to_persistence.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,19 @@ version of your Store into a database. They are good for larger data sets, often
3939
on a server - but can also work in a browser environment when a SQLite instance
4040
is available.
4141

42-
| Persister | Storage |
43-
| --------------------- | ------------------------------------------------------------------------------------------------------ |
44-
| Sqlite3Persister | SQLite in Node, via [sqlite3](https://github.com/TryGhost/node-sqlite3) |
45-
| SqliteBunPersister | SQLite in Bun, via [bun:sqlite](https://bun.sh/docs/api/sqlite) |
46-
| SqliteWasmPersister | SQLite in a browser, via [sqlite-wasm](https://github.com/tomayac/sqlite-wasm) |
47-
| ExpoSqlitePersister | SQLite in React Native, via [expo-sqlite](https://github.com/expo/expo/tree/main/packages/expo-sqlite) |
48-
| CrSqliteWasmPersister | SQLite CRDTs, via [cr-sqlite-wasm](https://github.com/vlcn-io/cr-sqlite) |
49-
| ElectricSqlPersister | Electric SQL, via [electric](https://github.com/electric-sql/electric) |
50-
| LibSqlPersister | LibSQL for Turso, via [libsql-client](https://github.com/tursodatabase/libsql-client-ts) |
51-
| PowerSyncPersister | PowerSync, via [powersync-sdk](https://github.com/powersync-ja/powersync-js) |
52-
| PostgresPersister | PostgreSQL, via [postgres](https://github.com/porsager/postgres) |
53-
| PglitePersister | PostgreSQL, via [PGlite](https://github.com/electric-sql/pglite) |
42+
| Persister | Storage |
43+
| -------------------------- | ---------------------------------------------------------------------------------------------------------------- |
44+
| Sqlite3Persister | SQLite in Node, via [sqlite3](https://github.com/TryGhost/node-sqlite3) |
45+
| SqliteBunPersister | SQLite in Bun, via [bun:sqlite](https://bun.sh/docs/api/sqlite) |
46+
| SqliteWasmPersister | SQLite in a browser, via [sqlite-wasm](https://github.com/tomayac/sqlite-wasm) |
47+
| ExpoSqlitePersister | SQLite in React Native, via [expo-sqlite](https://github.com/expo/expo/tree/main/packages/expo-sqlite) |
48+
| ReactNativeSqlitePersister | SQLite in React Native, via [react-native-sqlite-storage](https://github.com/andpor/react-native-sqlite-storage) |
49+
| CrSqliteWasmPersister | SQLite CRDTs, via [cr-sqlite-wasm](https://github.com/vlcn-io/cr-sqlite) |
50+
| ElectricSqlPersister | Electric SQL, via [electric](https://github.com/electric-sql/electric) |
51+
| LibSqlPersister | LibSQL for Turso, via [libsql-client](https://github.com/tursodatabase/libsql-client-ts) |
52+
| PowerSyncPersister | PowerSync, via [powersync-sdk](https://github.com/powersync-ja/powersync-js) |
53+
| PostgresPersister | PostgreSQL, via [postgres](https://github.com/porsager/postgres) |
54+
| PglitePersister | PostgreSQL, via [PGlite](https://github.com/electric-sql/pglite) |
5455

5556
See the Database Persistence guide for details on how to work with databases.
5657

site/guides/04_persistence/2_database_persistence.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,22 @@
33
Since v4.0, there are various options for persisting Store data to and from
44
SQLite databases, via a range of third-party modules.
55

6-
There are currently seven SQLite-based persistence options, and two for
6+
There are currently nine SQLite-based persistence options, and two for
77
PostgreSQL:
88

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) |
2122

2223
Each creation function takes a database reference, and a DatabasePersisterConfig
2324
object to describe its configuration. There are two modes for persisting a Store

site/guides/05_synchronization/1_using_a_mergeablestore.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,15 @@ The following Persister types _can_ be used to persist a MergeableStore:
113113
The following database-oriented Persister types can be used to persist a
114114
MergeableStore, but _only_ in the 'JSON-serialization' mode:
115115

116-
| Persister | Storage |
117-
| ------------------- | ------------------------------------------------------------------------------------------------------ |
118-
| Sqlite3Persister | SQLite in Node, via [sqlite3](https://github.com/TryGhost/node-sqlite3) |
119-
| SqliteBunPersister | SQLite in Bun, via [bun:sqlite](https://bun.sh/docs/api/sqlite) |
120-
| SqliteWasmPersister | SQLite in a browser, via [sqlite-wasm](https://github.com/tomayac/sqlite-wasm) |
121-
| ExpoSqlitePersister | SQLite in React Native, via [expo-sqlite](https://github.com/expo/expo/tree/main/packages/expo-sqlite) |
122-
| PostgresPersister | PostgreSQL, via [postgres](https://github.com/porsager/postgres) |
123-
| PglitePersister | PostgreSQL, via [PGlite](https://github.com/electric-sql/pglite) |
116+
| Persister | Storage |
117+
| -------------------------- | ---------------------------------------------------------------------------------------------------------------- |
118+
| Sqlite3Persister | SQLite in Node, via [sqlite3](https://github.com/TryGhost/node-sqlite3) |
119+
| SqliteBunPersister | SQLite in Bun, via [bun:sqlite](https://bun.sh/docs/api/sqlite) |
120+
| SqliteWasmPersister | SQLite in a browser, via [sqlite-wasm](https://github.com/tomayac/sqlite-wasm) |
121+
| ExpoSqlitePersister | SQLite in React Native, via [expo-sqlite](https://github.com/expo/expo/tree/main/packages/expo-sqlite) |
122+
| ReactNativeSqlitePersister | SQLite in React Native, via [react-native-sqlite-storage](https://github.com/andpor/react-native-sqlite-storage) |
123+
| PostgresPersister | PostgreSQL, via [postgres](https://github.com/porsager/postgres) |
124+
| PglitePersister | PostgreSQL, via [PGlite](https://github.com/electric-sql/pglite) |
124125

125126
The following database-oriented Persister types _cannot_ currently be used to
126127
persist a MergeableStore:

0 commit comments

Comments
 (0)