1.0.0 • Published 5 years ago
mongoose-notekeeper-plugin v1.0.0
mongoose-notekeeper-plugin
Installation
yarn add mongoose-notekeeper-plugin
How To Use
// ...
const notekeeperPlugin = require("mongoose-notekeeper-plugin");
const ProductSchema = new Schema({
name: String,
type: String,
price: Number,
quantity: Number,
description: String,
status: String
});
notekeeperPlugin(ProductSchema, { fields: ["quantity", "status"] });
1.0.0
5 years ago