Couchbase C++ SDK 1.0.4 (rev. 5355b0f)
Loading...
Searching...
No Matches
update_collection_settings Struct Reference

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.
 

Detailed Description

The settings that should be updated for the collection.

Member Data Documentation

◆ history

std::optional<bool> history {}

Whether history retention should be enabled.

◆ max_expiry

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.


The documentation for this struct was generated from the following file: