ravendb
Version:
RavenDB client for Node.js
12 lines • 807 B
JavaScript
import { ClusterTransactionOperationsBase } from "../../ClusterTransactionOperationsBase.js";
import { LazyGetCompareExchangeValueOperation } from "./LazyGetCompareExchangeValueOperation.js";
import { LazyGetCompareExchangeValuesOperation } from "./LazyGetCompareExchangeValuesOperation.js";
export class LazyClusterTransactionOperations extends ClusterTransactionOperationsBase {
getCompareExchangeValue(key, type) {
return this._session.addLazyOperation(new LazyGetCompareExchangeValueOperation(this, type, this._session.conventions, key));
}
getCompareExchangeValues(keys, type) {
return this._session.addLazyOperation(new LazyGetCompareExchangeValuesOperation(this, type, this._session.conventions, keys));
}
}
//# sourceMappingURL=LazyClusterTransactionOperations.js.map