Class: Libcouchbase::Ext::SDSPEC

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/libcouchbase/ext/libcouchbase/sdspec.rb

Overview

(Not documented)

## Fields:

:sdcmd

(Integer) The command code, @ref lcb_SUBDOCOP. There is no default for this value, and it therefore must be set.

:options

(Integer) Set of option flags for the command. Currently the only option known is @ref LCB_SDSPEC_F_MKINTERMEDIATES

:path

(KEYBUF) Path for the operation. This should be assigned using @ref LCB_SDSPEC_SET_PATH. The contents of the path should be valid until the operation is scheduled (lcb_subdoc3())

:value

(VALBUF) @value for the operation. This should be assigned using @ref LCB_SDSPEC_SET_VALUE. The contents of the value should be valid until the operation is scheduled (i.e. lcb_subdoc3())

Constant Summary collapse

MKINTERMEDIATES =

Create intermediate paths

(1<<16)
XATTRPATH =

Access document XATTR path

(1<<18)
XATTR_MACROVALUES =

Access document virtual/materialized path

(1<<19)
XATTR_DELETED_OK =

Access Xattrs of deleted documents

(1<<20)