Class CollectionSpec
Inherited Members
Namespace: Couchbase.Management.Collections
Assembly: Couchbase.NetClient.dll
Syntax
public class CollectionSpec
Constructors
| Edit this page View SourceCollectionSpec(string, string)
Declaration
public CollectionSpec(string scopeName, string name)
Parameters
Properties
| Edit this page View SourceHistory
Whether history retention override is enabled on this collection. If not set will default to bucket level setting.
Declaration
public bool? History { get; init; }
Property Value
Type | Description |
---|---|
bool? |
MaxExpiry
MaxExpiry is the time in seconds for the TTL for new documents in the collection. It will be infinite if not set.
Declaration
[InterfaceStability(Level.Volatile)]
public TimeSpan? MaxExpiry { get; set; }
Property Value
Type | Description |
---|---|
Time |
Name
The Collection name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string |
ScopeName
The Scope name.
Declaration
public string ScopeName { get; }
Property Value
Type | Description |
---|---|
string |