summaryrefslogtreecommitdiffstats
path: root/node_modules/mongodb/lib/operations/indexes.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/mongodb/lib/operations/indexes.js')
-rw-r--r--node_modules/mongodb/lib/operations/indexes.js22
1 files changed, 0 insertions, 22 deletions
diff --git a/node_modules/mongodb/lib/operations/indexes.js b/node_modules/mongodb/lib/operations/indexes.js
deleted file mode 100644
index e29a88a..0000000
--- a/node_modules/mongodb/lib/operations/indexes.js
+++ /dev/null
@@ -1,22 +0,0 @@
-'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;