Skip to main content

SQLiteHandle

@webda/sqlite


Interface: SQLiteHandle

Defined in: sqlite/src/dbregistry.ts:10

One open database shared by the services using the same key

Properties​

client​

client: SQLiteClient

Defined in: sqlite/src/dbregistry.ts:13


db​

db: DatabaseSync

Defined in: sqlite/src/dbregistry.ts:12


events​

events: EventEmitter

Defined in: sqlite/src/dbregistry.ts:17

In-process notifications: changed(table) after a write by a service of this process


key​

key: string

Defined in: sqlite/src/dbregistry.ts:11


path?​

optional path?: string

Defined in: sqlite/src/dbregistry.ts:22

Resolved file path, undefined in memory


readOnly​

readOnly: boolean

Defined in: sqlite/src/dbregistry.ts:26

Opened read-only


refCount​

refCount: number

Defined in: sqlite/src/dbregistry.ts:18