You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
517 B
24 lines
517 B
4 years ago
|
'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;
|