Common options that used by most operations.
Definition common_options.hxx:37
auto build_common_options() const -> built
Definition common_options.hxx:89
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28
std::function< void(error)> create_collection_handler
Definition create_collection_options.hxx:73
Immutable value object representing consistent options.
Definition create_collection_options.hxx:36
Definition create_collection_options.hxx:28
auto build() const -> built
Validates the options and returns them as an immutable value.
Definition create_collection_options.hxx:50
The settings to use when creating the collection.
Definition create_collection_options.hxx:59
std::optional< bool > history
Whether history retention should be enabled.
Definition create_collection_options.hxx:70
std::optional< std::int32_t > max_expiry
The maximum expiry, in seconds, for documents in this collection.
Definition create_collection_options.hxx:65