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

Aggregation of one or more mutation_tokens for specifying consistency requirements of N1QL or FTS queries. More...

#include <couchbase/mutation_state.hxx>

Public Member Functions

 mutation_state ()=default
 
void add (const mutation_result &result)
 Copies mutation token from the given mutation result.
 
auto tokens () const -> const std::vector< mutation_token > &
 List of the mutation tokens.
 

Detailed Description

Aggregation of one or more mutation_tokens for specifying consistency requirements of N1QL or FTS queries.

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

Constructor & Destructor Documentation

◆ mutation_state()

mutation_state ( )
default
Since
1.0.0
Committed
Generally available API and should be preferred in production

Member Function Documentation

◆ add()

void add ( const mutation_result & result)
inline

Copies mutation token from the given mutation result.

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

◆ tokens()

auto tokens ( ) const -> const std::vector<mutation_token>&
inlinenodiscard

List of the mutation tokens.

Returns
tokens
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: