Skip to content

MakeDbOptions

MakeDbOptions = object

Defined in: index.ts:46

optional clientId: string

Defined in: index.ts:64

android/ios id (see https://docs.expo.dev/versions/latest/sdk/application)

optional resetPersistence: boolean

Defined in: index.ts:72

Warning: This will reset both the app and eventlog database. This should only be used during development.

false

optional sessionId: string

Defined in: index.ts:66

'static'

optional storage: object

Defined in: index.ts:48

optional directory: string

The directory where the database file is located.

SQLite.defaultDatabaseDirectory

optional subDirectory: 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


optional sync: SyncOptions

Defined in: index.ts:47