Dashboard Temp Share Shortlinks Frames API

HTMLify

index_information.js
Views: 8 | Author: cody
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;