export const DBClient = Symbol.for('DBClient') export interface DBClient { getProvide

(): P; setTable(table: string): void; find(filter: object): Promise; findOne(filter: Object): Promise; findOneById(objectId: string): Promise; insertOne(model: T): Promise; updateOne(where: any, model: any): Promise; updateById(objectId: string, model: any): Promise; deleteOne(where: any): Promise; deleteById(objectId: string): Promise; }