1.0.1 • Published 2 years ago

ekshot-database-schema-1 v1.0.1

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

This NPM package supports typescript and javascript. The package contains database schema Ekshot business. Schema was designed with mongoose and allow users to query and create documents for the Ekshot business Models.

Model covered in this system includes the following:

  • Business
  • Users
  • Devices
  • UserTypes
  • Reviews
  • DeliverySlots
  • Orders
  • Deliveries
  • Products
  • PorductCategories
  • BusinessCategories
  • BusinessTypes
  • BusinessBankDetials

The package support all mongoose query implematation

Model.find()
Model.findAndUpdate()
Model.insertMany()
Model.updateOne()
Model.deleteOne()

Example

npm install @ekshhot/ekshot-database-schema@1.0.0

import { DataModel } from "@ekshhot/ekshot-database-schema": "1.0.0";

DataModel.businessbankDetials().find();