Skip to content

sqlocal / index / ClientConfig

Type Alias: ClientConfig ​

ts
type ClientConfig = {
  databasePath: DatabasePath;
  onConnect?: (reason) => void;
  onInit?: (sql) => void | Statement[];
  processor?: SQLocalProcessor | Worker;
  reactive?: boolean;
  readOnly?: boolean;
  verbose?: boolean;
};

Defined in: src/types.ts:129

Properties ​

PropertyTypeDefined in
databasePathDatabasePathsrc/types.ts:130
onConnect?(reason) => voidsrc/types.ts:135
onInit?(sql) => void | Statement[]src/types.ts:134
processor?SQLocalProcessor | Workersrc/types.ts:136
reactive?booleansrc/types.ts:131
readOnly?booleansrc/types.ts:132
verbose?booleansrc/types.ts:133

Released under the MIT License