66 return { base, expiry_ };
84 expiry_ = core::impl::expiry_relative(duration);
100 expiry_ = core::impl::expiry_absolute(time_point);
105 std::uint32_t expiry_{ 0 };
Common options that used by most operations.
Definition common_durability_options.hxx:39
auto build_common_durability_options() const -> built
Definition common_durability_options.hxx:100
auto self() -> insert_options &
Definition common_options.hxx:102
Represents result of mutation operations.
Definition mutation_result.hxx:35
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28
std::function< void(error, mutation_result)> insert_handler
The signature for the handler of the collection::insert() operation.
Definition insert_options.hxx:114
Immutable value object representing consistent options.
Definition insert_options.hxx:48
const std::uint32_t expiry
Definition insert_options.hxx:49
Options for collection::insert().
Definition insert_options.hxx:41
auto expiry(std::chrono::seconds duration) -> insert_options &
Sets the expiry for the document.
Definition insert_options.hxx:82
auto expiry(std::chrono::system_clock::time_point time_point) -> insert_options &
Sets the expiry for the document.
Definition insert_options.hxx:98
auto build() const -> built
Validates options and returns them as an immutable value.
Definition insert_options.hxx:63