Properties
connect
connect: (() => Promise<void>)
Type declaration
-
- (): Promise<void>
-
Returns Promise<void>
disconnect
disconnect: (() => Promise<void>)
Type declaration
-
- (): Promise<void>
-
Returns Promise<void>
query
query: ((query, params?) => Promise<any>)
Type declaration
-
- (query, params?): Promise<any>
-
Parameters
-
query: string
-
Optional
params: unknown[]
Returns Promise<any>
Represents a SQL interface for a database.