Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IModel

Index

Methods

delete

deleteMany

find

  • find(query: object, populate: string | object[] | object, selectFields: string): Promise<IModel[]>

findById

  • findById(id: RefSchemaType, populate: string | object[] | object, selectFields: string): Promise<IModel>

findOne

  • findOne(query: object, populate: string | object[] | object, selectFields: string): Promise<IModel>

save

  • save(): Promise<this>

update

  • update(data?: object): Promise<this>

updateMany

  • updateMany(query: object, data?: any): boolean

Generated using TypeDoc