🔖 Release Version 1.0.4-hf3
This commit is contained in:
+3
@@ -47,4 +47,7 @@ export abstract class AbstractConnector<T extends ConnectionOptions> implements
|
||||
getType(): DatabaseType {
|
||||
return this.type;
|
||||
}
|
||||
getClient() {
|
||||
return this.getClient();
|
||||
}
|
||||
}
|
||||
|
||||
+5
@@ -99,6 +99,11 @@ export interface Connector extends Initializable {
|
||||
* @returns Pagination
|
||||
*/
|
||||
getOffsetPagination(options: Paginable): Pagination;
|
||||
|
||||
/**
|
||||
* Get the db client
|
||||
*/
|
||||
getClient(): any;
|
||||
}
|
||||
|
||||
export declare type ConnectionOptions = MongoConnectionOptions | PostgresConnectionOptions;
|
||||
|
||||
Reference in New Issue
Block a user