Couchbase C++ SDK 1.0.2 (rev. 51f4775)
Loading...
Searching...
No Matches
mutation_result Class Reference

Represents result of mutation operations. More...

#include <couchbase/mutation_result.hxx>

Inheritance diagram for mutation_result:
Inheritance graph

Public Member Functions

 mutation_result ()=default
 
 mutation_result (couchbase::cas cas, mutation_token token)
 Constructs result for get_any_replica operation, or an entry for get_all_replicas operation.
 
auto mutation_token () const -> const std::optional< mutation_token > &
 
- Public Member Functions inherited from result
 result ()=default
 
 result (couchbase::cas cas)
 
auto cas () const -> couchbase::cas
 

Detailed Description

Represents result of mutation operations.

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

Constructor & Destructor Documentation

◆ mutation_result() [1/2]

mutation_result ( )
default
Since
1.0.0
Internal
Internal interface

◆ mutation_result() [2/2]

Constructs result for get_any_replica operation, or an entry for get_all_replicas operation.

Parameters
cas
tokenmutation token returned by the server
Since
1.0.0
Committed
Generally available API and should be preferred in production

Member Function Documentation

◆ mutation_token()

auto mutation_token ( ) const -> const std::optional<mutation_token>&
inlinenodiscard
Returns
mutation token returned by the server
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: