MakeDbOptions
MakeDbOptions =
object
Defined in: index.ts:46
Properties
Section titled “Properties”clientId?
Section titled “clientId?”
optionalclientId:string
Defined in: index.ts:64
Default
Section titled “Default”android/ios id (see https://docs.expo.dev/versions/latest/sdk/application)resetPersistence?
Section titled “resetPersistence?”
optionalresetPersistence:boolean
Defined in: index.ts:72
Warning: This will reset both the app and eventlog database. This should only be used during development.
Default
Section titled “Default”falsesessionId?
Section titled “sessionId?”
optionalsessionId:string
Defined in: index.ts:66
Default
Section titled “Default”'static'storage?
Section titled “storage?”
optionalstorage:object
Defined in: index.ts:48
directory?
Section titled “directory?”
optionaldirectory:string
The directory where the database file is located.
Default
Section titled “Default”SQLite.defaultDatabaseDirectorysubDirectory?
Section titled “subDirectory?”
optionalsubDirectory:string
Sub-directory relative to the configured directory (or expo-sqlite’s default directory if not specified).
Example of a resulting path for subDirectory: 'my-app':
/data/Containers/Data/Application/<APP_UUID>/Documents/ExponentExperienceData/@<USERNAME>/<APPNAME>/SQLite/my-app/<STORE_ID>/livestore-eventlog@3.db
optionalsync:SyncOptions
Defined in: index.ts:47