ravendb
Version:
RavenDB client for Node.js
24 lines • 551 B
JavaScript
export class PutCompareExchangeCommandData {
_index;
_document;
id;
changeVector;
name;
constructor(key, value, index) {
this.id = key;
this._document = value;
this._index = index;
}
get type() {
return "CompareExchangePUT";
}
serialize(conventions) {
return {
Id: this.id,
Document: this._document,
Index: this._index,
Type: "CompareExchangePUT"
};
}
}
//# sourceMappingURL=PutCompareExchangeCommandData.js.map