Properties
Private con
con: Connection
Methods
execute
- execute<T>(query: string): Promise<T[]>
-
Type parameters
Parameters
Returns Promise<T[]>
getRaw
- getRaw<T>(query: string): Promise<T[]>
-
Type parameters
Parameters
Returns Promise<T[]>
getRepo
- getRepo<T>(v: ObjectType<T> | EntitySchema<T> | string): Repository<T>
-
Type parameters
Parameters
-
v: ObjectType<T> | EntitySchema<T> | string
Returns Repository<T>
Private updateDriver
- updateDriver(con: Connection): Promise<Connection>
-
Parameters
Returns Promise<Connection>
useConnection
- useConnection(con: Connection): Promise<Connection>
-
Parameters
Returns Promise<Connection>
High level abstraction as ORM service around Typeorm better-sqlite3 driver.