e-commercee
Version:
This package contains a backend of what would be the logic of a e-commercee software, the architecture used is made in 3 layers
24 lines (17 loc) • 517 B
JavaScript
;
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;