Skip to content

Commit

Permalink
PCBC-975 : Fix expiry with upsertMulti
Browse files Browse the repository at this point in the history
  • Loading branch information
thias authored and avsej committed Nov 15, 2024
1 parent 2cb1f12 commit db9b044
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/wrapper/connection_handle.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2096,6 +2096,9 @@ connection_handle::document_upsert_multi(zval* return_value,
if (auto e = cb_set_durability(opts, options); e.ec) {
return e;
}
if (auto e = cb_set_expiry(opts, options); e.ec) {
return e;
}
if (auto e = cb_set_preserve_expiry(opts, options); e.ec) {
return e;
}
Expand Down

0 comments on commit db9b044

Please sign in to comment.