Class CollectionSpec
Inheritance
CollectionSpec
Assembly: Couchbase.NetClient.dll
Syntax
public class CollectionSpec
Constructors
|
Edit this page
View Source
CollectionSpec(string, string)
Declaration
public CollectionSpec(string scopeName, string name)
Parameters
Properties
|
Edit this page
View Source
History
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
|
Edit this page
View Source
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
|
Edit this page
View Source
Name
Declaration
public string Name { get; }
Property Value
|
Edit this page
View Source
ScopeName
Declaration
public string ScopeName { get; }
Property Value