@configurator/ravendb
Version:
RavenDB client for Node.js
19 lines • 611 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AbstractCommonApiForIndexes = void 0;
class AbstractCommonApiForIndexes {
constructor() {
this.configuration = {};
}
get isMapReduce() {
return false;
}
getIndexName() {
return AbstractCommonApiForIndexes.getIndexNameForCtor(this.constructor.name);
}
static getIndexNameForCtor(indexCtorName) {
return indexCtorName.replace(/_/g, "/");
}
}
exports.AbstractCommonApiForIndexes = AbstractCommonApiForIndexes;
//# sourceMappingURL=AbstractCommonApiForIndexes.js.map