Skip to content

Commit ac22a58

Browse files
authored
RCBC-513: Forward prepend/append CAS to core (#169)
1 parent 6d89cab commit ac22a58

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ext/couchbase

ext/rcb_crud.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,7 @@ cb_Backend_document_append(VALUE self,
652652
couchbase::append_options opts;
653653
set_timeout(opts, options);
654654
set_durability(opts, options);
655+
set_cas(opts, options);
655656

656657
auto f = cluster.bucket(cb_string_new(bucket))
657658
.scope(cb_string_new(scope))
@@ -698,6 +699,7 @@ cb_Backend_document_prepend(VALUE self,
698699
couchbase::prepend_options opts;
699700
set_timeout(opts, options);
700701
set_durability(opts, options);
702+
set_cas(opts, options);
701703

702704
auto f = cluster.bucket(cb_string_new(bucket))
703705
.scope(cb_string_new(scope))

0 commit comments

Comments
 (0)