How to use the cappedCollectionSize function from nomnom
Find comprehensive JavaScript nomnom.cappedCollectionSize code examples handpicked from public code repositorys.
GitHub: c0nrad/caspr
5 6 7 8 9 10 11 12 13 14
var opts = require('../options'); var reportOptions = {}; if (opts.cappedCollectionSize !== 0) { logger.info('Capping report collection at', opts.cappedCollectionSize); reportOptions.capped = opts.cappedCollectionSize; } var ReportSchema = new Schema({ project: {type: Schema.Types.ObjectId, ref: 'Project'},
7
53
5
+ 15 other calls in file
nomnom.options is the most popular function in nomnom (227 examples)