Represents result of counter operations.
More...
#include <couchbase/counter_result.hxx>
Represents result of counter operations.
- Since
- 1.0.0
- Committed
- Generally available API and should be preferred in production
◆ counter_result() [1/2]
◆ counter_result() [2/2]
Constructs result for get_any_replica operation, or an entry for get_all_replicas operation.
- Parameters
-
| cas | |
| token | counter token returned by the server |
| content | current value of the counter |
- Since
- 1.0.0
- Committed
- Generally available API and should be preferred in production
◆ content()
| auto content |
( |
| ) |
const->std::uint64_t |
|
inlinenodiscard |
Current value of the counter.
- Returns
- unsigned value of the counter
The documentation for this class was generated from the following file: