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:134

Properties

PropertyTypeDefined in
databasePathDatabasePathsrc/types.ts:135
onConnect?(reason) => voidsrc/types.ts:140
onInit?(sql) => void | Statement[]src/types.ts:139
processor?SQLocalProcessor | Workersrc/types.ts:141
reactive?booleansrc/types.ts:136
readOnly?booleansrc/types.ts:137
verbose?booleansrc/types.ts:138

Released under the MIT License