MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / WriteSubDoc

Method WriteSubDoc

base/collection_xattr.go:93–95  ·  view source on GitHub ↗
(ctx context.Context, k string, subdocKey string, cas uint64, value []byte)

Source from the content-addressed store, hash-verified

91}
92
93func (c *Collection) WriteSubDoc(ctx context.Context, k string, subdocKey string, cas uint64, value []byte) (uint64, error) {
94 return c.SubdocWrite(ctx, k, subdocKey, cas, value)
95}
96
97func (c *Collection) GetWithXattrs(ctx context.Context, k string, xattrKeys []string) ([]byte, map[string][]byte, uint64, error) {
98 _, body, xattrs, cas, err := c.subdocGetBodyAndXattrs(ctx, k, xattrKeys, true)

Callers 2

getStatusFromClusterMethod · 0.45

Calls 1

SubdocWriteMethod · 0.95

Tested by

no test coverage detected