/mongoose-ODM

Using Object Document Mapping (mongoose) to deal with MongoDB

Primary LanguageJavaScript

mongoose-ODM

implement mongodb operations using Object Document Mapping (mongoose)

Operations

  • findOne
  • findMany
  • insertOne
  • insertMany
  • updateOne
  • updateMany
  • deleteOne
  • deleteMany

Files Structure

  • Schema : create mongoDB schema
  • Model : create mongoDB Model
  • utils : create mongoDB Methods
  • mongoose : create mongoDB connection