Couchbase C++ SDK 1.0.4 (rev. 5355b0f)
|
The settings that should be updated for the collection. More...
#include <couchbase/update_collection_options.hxx>
Public Attributes | |
std::optional< std::int32_t > | max_expiry {} |
The maximum expiry, in seconds, for documents in this collection. | |
std::optional< bool > | history {} |
Whether history retention should be enabled. | |
The settings that should be updated for the collection.
std::optional<bool> history {} |
Whether history retention should be enabled.
std::optional<std::int32_t> max_expiry {} |
The maximum expiry, in seconds, for documents in this collection.
Values greater than or equal to -1 are valid. Value of 0 sets max_expiry to the bucket-level setting and value of -1 to set it as no-expiry.