Couchbase .NET SDK | 3.7.2
Search Results for

    Show / Hide Table of Contents

    Enum SubdocDocFlags

    Flags for indicating additional actions when working with subdocument documents.

    Namespace: Couchbase.KeyValue
    Assembly: Couchbase.NetClient.dll
    Syntax
    [Flags]
    public enum SubdocDocFlags : byte

    Fields

    Name Description
    AccessDeleted

    Allows access to a deleted document's attributes section. Only for internal diagnostic use only and is an unsupported feature.

    CreateAsDeleted

    If the server needs to create a new document, it will create it as a tombstone. Any system or user xattrs provided in the request will be stored, but a document body will not be.

    InsertDocument

    Similar to UpsertDocument, except that the operation only succeds if the document does not exist. This option makes sense in the context of wishing to create a new document together with Xattrs.

    None

    No document flags have been specified.

    ReplicaRead

    Specifies that the request is being sent to a replica.

    ReviveDocument

    This will allow the document to no longer be a tombstone. Note that the server will respond with "ReviveDocument cannot be used without AccessDeletec", so we should always send AccessDeleted as well.

    UpsertDocument

    Creates the document if it does not exist.

    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.