Initial commit
This commit is contained in:
23
node_modules/mongodb/lib/operations/index_information.js
generated
vendored
Normal file
23
node_modules/mongodb/lib/operations/index_information.js
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
'use strict';
|
||||
|
||||
const OperationBase = require('./operation').OperationBase;
|
||||
const indexInformation = require('./common_functions').indexInformation;
|
||||
|
||||
class IndexInformationOperation extends OperationBase {
|
||||
constructor(db, name, options) {
|
||||
super(options);
|
||||
|
||||
this.db = db;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
execute(callback) {
|
||||
const db = this.db;
|
||||
const name = this.name;
|
||||
const options = this.options;
|
||||
|
||||
indexInformation(db, name, options, callback);
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = IndexInformationOperation;
|
||||
Reference in New Issue
Block a user