index_information.js 517 B

1234567891011121314151617181920212223
  1. 'use strict';
  2. const OperationBase = require('./operation').OperationBase;
  3. const indexInformation = require('./common_functions').indexInformation;
  4. class IndexInformationOperation extends OperationBase {
  5. constructor(db, name, options) {
  6. super(options);
  7. this.db = db;
  8. this.name = name;
  9. }
  10. execute(callback) {
  11. const db = this.db;
  12. const name = this.name;
  13. const options = this.options;
  14. indexInformation(db, name, options, callback);
  15. }
  16. }
  17. module.exports = IndexInformationOperation;