typecql
Version:
ORM for CQL databases.
19 lines • 605 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SpecialSet = void 0;
const specialWhere_1 = require("./specialWhere");
class SpecialSet extends specialWhere_1.SpecialWhere {
constructor(values, structure) {
super(values, structure);
this.values = values;
this.structure = structure;
this.special = true;
}
formatSet(key) {
return this.structure.replace(/%KEY%/g, () => {
return key !== undefined ? key : '%KEY%';
});
}
}
exports.SpecialSet = SpecialSet;
//# sourceMappingURL=specialSet.js.map