- Exists(field: Types.ObjectId | string): Promise
- findPrivateById(id: Types.ObjectId): Promise<Model | null>
- findPrivateByIdLean(id: Types.ObjectId): Promise<Model | null>
- findPublicById(id: Types.ObjectId): Promise<Model | null>
- findPublicByIdLean(id: Types.ObjectId): Promise<Model | null>
- findFieldsById(id: Types.ObjectId, ...fields: (keyof Partial)[]): Promise<Model | null>
- findFieldsByIdLean(id: Types.ObjectId, ...fields: (keyof Partial)[]): Promise<Model | null>
- create(model: Model): Promise
- update(moedl: Model): Promise
- deleteById(id: Types.ObjectId): Promise
- findManyByQuery(query: QueryOptions): Promise<Model[]>
- findManyByQueryLean(query: QueryOptions): Promise<Model[]>