price-history/node_modules/mongoose/lib/helpers/query/validOps.js
2024-01-11 04:28:21 +05:30

21 lines
315 B
JavaScript

'use strict';
module.exports = Object.freeze([
// Read
'countDocuments',
'distinct',
'estimatedDocumentCount',
'find',
'findOne',
// Update
'findOneAndReplace',
'findOneAndUpdate',
'replaceOne',
'updateMany',
'updateOne',
// Delete
'deleteMany',
'deleteOne',
'findOneAndDelete'
]);