Couchbase C++ SDK 1.0.1 (rev. 58d46d7)
Loading...
Searching...
No Matches
upsert Class Reference

An intention to perform a SubDocument upsert operation. More...

#include <couchbase/subdoc/upsert.hxx>

Public Member Functions

auto xattr (bool value=true) -> upsert &
 Sets that this is an extended attribute (xattr) field.
 
auto create_path (bool value=true) -> upsert &
 Sets that parent fields should be created automatically.
 
auto binary (bool value=true) -> upsert &
 Sets whether the value should be treated as a binary.
 

Detailed Description

An intention to perform a SubDocument upsert operation.

Since
1.0.0
Committed
Generally available API and should be preferred in production

Member Function Documentation

◆ binary()

auto binary ( bool value = true) -> upsert&
inline

Sets whether the value should be treated as a binary.

Parameters
valuenew value for the option
Returns
this, for chaining
Since
1.0.0
Committed
Generally available API and should be preferred in production

◆ create_path()

auto create_path ( bool value = true) -> upsert&
inline

Sets that parent fields should be created automatically.

Parameters
valuenew value for the option
Returns
this, for chaining
Since
1.0.0
Committed
Generally available API and should be preferred in production

◆ xattr()

auto xattr ( bool value = true) -> upsert&
inline

Sets that this is an extended attribute (xattr) field.

Parameters
valuenew value for the option
Returns
this, for chaining
Since
1.0.0
Committed
Generally available API and should be preferred in production

The documentation for this class was generated from the following file: