# Variable default

default: {
exportRelations: ((relations: string[]) => any);
get: ((tableName: string, selectFields?: string[], conditions?: string[], conditionFields?: string[], options?: GetCommandOptions) => Promise<IDBResult | IDBResultError>);
getCommandFactory: (() => {
generateAtomCommand: ((tableName: string, items: Partial<DbEntity>[], fieldNames?: string[]) => string);
generateGet: ((tableName: string, selectFields?: string[], conditions?: string[], conditionFields?: string[], options?: GetCommandOptions) => string);
generateModifyCommand: ((tableName: string, command?: "update" | "put", fieldNames?: string[]) => string);
generatePut: ((tableName: string, array: Partial<DbEntity>[]) => string);
generateRm: ((tableName: string, keyValues: Partial<DbEntity>[]) => string);
generateUpdate: ((tableName: string, array: Partial<DbEntity>[]) => string);
});
importRelations: ((content: string) => any);
init: ((onWrite?: OnWrite) => Promise<void>);
put: ((tableName: string, array: Partial<DbEntity>[]) => Promise<IDBResult | IDBResultError>);
rm: ((tableName: string, keyValues: Partial<DbEntity>[]) => Promise<IDBResult | IDBResultError>);
runCommand: ((command: string, immutable?: boolean) => Promise<IDBResult | IDBResultError>);
update: ((tableName: string, array: Partial<DbEntity>[]) => Promise<IDBResult | IDBResultError>);
}

- Defined in work/deeplinks/deeplinks/imports/cyber/CozoDb/cozoDb.ts:205