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
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,9 +81,17 @@ import PouchDB from './pouchdb'
81
81
82
82
const pouch =newPouchDB('mydb', {
83
83
adapter: 'react-native-sqlite',
84
+
// Other options
84
85
})
85
86
```
86
87
88
+
### Options
89
+
90
+
You can specify the following options in the PouchDB options:
91
+
92
+
-`location`: The location of the SQLite database file. See [op-sqlite's docs](https://op-engineering.github.io/op-sqlite/docs/configuration) for more details.
93
+
-`encryptionKey`: The encryption key for SQLCipher. See [op-sqlite's docs](https://op-engineering.github.io/op-sqlite/docs/api#sqlcipher-open) for more details.
94
+
87
95
## Troubleshootings
88
96
89
97
### Fails to install crypto shim with `install()` on launch
0 commit comments