Files
Superalgos/server/node_modules/mongoose/examples/express/connection-sharing/modelA.js
T
2018-09-03 15:19:57 +02:00

7 lines
167 B
JavaScript

'use strict';
const Schema = require('../../../lib').Schema;
const mySchema = Schema({name: String});
/* global db */
module.exports = db.model('MyModel', mySchema);