Initial Commit

This commit is contained in:
2020-07-08 15:37:09 +02:00
commit 549ecd137f
1746 changed files with 292109 additions and 0 deletions

22
node_modules/mongodb/lib/operations/indexes.js generated vendored Normal file
View File

@@ -0,0 +1,22 @@
'use strict';
const OperationBase = require('./operation').OperationBase;
const indexInformation = require('./common_functions').indexInformation;
class IndexesOperation extends OperationBase {
constructor(collection, options) {
super(options);
this.collection = collection;
}
execute(callback) {
const coll = this.collection;
let options = this.options;
options = Object.assign({}, { full: true }, options);
indexInformation(coll.s.db, coll.collectionName, options, callback);
}
}
module.exports = IndexesOperation;