Properties
disconnect
disconnect: (() => Promise<void>)
Type declaration
- (): Promise<void>
Returns Promise<void>
exec
exec: ((sql) => Promise<number>)
Type declaration
- (sql): Promise<number>
Returns Promise<number>
getAttribute
getAttribute: ((attribute) => string | number)
Type declaration
- (attribute): string | number
Returns string | number
getRawDriverConnection
getRawDriverConnection: (<T>() => Promise<T>) Type declaration
- <T>(): Promise<T>
Returns Promise<T>
getVersion
getVersion: (() => Promise<string>)
Type declaration
- (): Promise<string>
Returns Promise<string>
reconnect
reconnect: (() => void)
setAttribute
setAttribute: ((attribute, value) => boolean)
Type declaration
- (attribute, value): boolean
Parameters
- attribute: string
- value: string | number
Returns boolean