Couchbase C++ SDK 1.0.2 (rev. 51f4775)
|
The settings to use when creating the collection. More...
#include <couchbase/create_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 to use when creating the collection.
std::optional<bool> history {} |
Whether history retention should be enabled.
If unset, the bucket-level setting is used.
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.