ravendb
Version:
RavenDB client for Node.js
16 lines • 1.15 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.LazyClusterTransactionOperations = void 0;
const ClusterTransactionOperationsBase_js_1 = require("../../ClusterTransactionOperationsBase.js");
const LazyGetCompareExchangeValueOperation_js_1 = require("./LazyGetCompareExchangeValueOperation.js");
const LazyGetCompareExchangeValuesOperation_js_1 = require("./LazyGetCompareExchangeValuesOperation.js");
class LazyClusterTransactionOperations extends ClusterTransactionOperationsBase_js_1.ClusterTransactionOperationsBase {
getCompareExchangeValue(key, type) {
return this._session.addLazyOperation(new LazyGetCompareExchangeValueOperation_js_1.LazyGetCompareExchangeValueOperation(this, type, this._session.conventions, key));
}
getCompareExchangeValues(keys, type) {
return this._session.addLazyOperation(new LazyGetCompareExchangeValuesOperation_js_1.LazyGetCompareExchangeValuesOperation(this, type, this._session.conventions, keys));
}
}
exports.LazyClusterTransactionOperations = LazyClusterTransactionOperations;
//# sourceMappingURL=LazyClusterTransactionOperations.js.map