Couchbase C++ SDK 1.0.4 (rev. 5355b0f)
Loading...
Searching...
No Matches
insert Class Reference

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

#include <couchbase/subdoc/insert.hxx>

Public Member Functions

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

Detailed Description

An intention to perform a SubDocument insert operation.

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

Member Function Documentation

◆ binary()

auto binary ( bool value = true) -> insert&
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) -> insert&
inline

Sets that this 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) -> insert&
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: