Properties
destroy
destroy: (() => void)
escapeString
escapeString: ((str: string | number) => string)
Type declaration
-
- (str: string | number): string
-
Returns string
isConnected
isConnected: (() => Promise<boolean>)
Type declaration
-
- (): Promise<boolean>
-
Returns Promise<boolean>
query
query: ((callback: Function) => any)
Type declaration
-
- (callback: Function): any
-
Returns any
save
save
: ((saveData
: QueryData, isNew
: boolean) => Promise<any>)
Type declaration
-
- (saveData: QueryData, isNew: boolean): Promise<any>
-
Returns Promise<any>
tableName
tableName: string
Интерфейс для абстрактного класса служащего прослойкой между логикой ядра и подключением к БД.