Interface IDocumentFragment<TDocument>
Represents one more fragments of a document that is returned by the sub-document API.
Inherited Members
Namespace: Couchbase.Core.IO.Operations.SubDocument
Assembly: Couchbase.NetClient.dll
Syntax
[Obsolete("This interface is not required and will be removed in a future release.")]
public interface IDocumentFragment<out TDocument> : IOperationResult<TDocument>, IDocumentFragment, IOperationResult, IResult
Type Parameters
Name | Description |
---|---|
TDocument | The document |
Properties
| Edit this page View SourceExpiry
The time-to-live or TTL for the document before it's evicted from disk in milliseconds.
Declaration
uint Expiry { get; set; }
Property Value
Type | Description |
---|---|
uint |
Remarks
Setting this to zero or less will give the document infinite lifetime