@appt/mongoose

This is a plugin made for ApptJs that wraps Mongoose ODM to work into the Appt's ecosystem with advanced database models and schemes.

We assume you got here after seeing the Getting Started page. If you don't, we strongly recommend you to step back an take a 5 minutes reading to get used with some key concepts we're going to apply here.

Install

$ npm install @appt/mongoose --save

Resources

The @appt/mongoose plugin export some resources which can be imported as seen below:

import {
Mongoose,
MongooseParse,
TModel,
TSchema,
SchemaTypes,
SchemaProperties
} from '@appt/mongoose';

‚Äč