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

Represents result of exists operations. More...

#include <couchbase/exists_result.hxx>

Inheritance diagram for exists_result:
Inheritance graph

Public Member Functions

 exists_result ()=default
 
 exists_result (couchbase::cas cas, bool exists)
 Constructs result for get_any_replica operation, or an entry for get_all_replicas operation.
 
auto exists () const -> bool
 
- Public Member Functions inherited from result
 result ()=default
 
 result (couchbase::cas cas)
 
auto cas () const -> couchbase::cas
 

Detailed Description

Represents result of exists operations.

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

Constructor & Destructor Documentation

◆ exists_result() [1/2]

exists_result ( )
default
Since
1.0.0
Internal
Internal interface

◆ exists_result() [2/2]

exists_result ( couchbase::cas cas,
bool exists )
inline

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

Parameters
cas
existstrue if the document exists, false otherwise
Since
1.0.0
Committed
Generally available API and should be preferred in production

Member Function Documentation

◆ exists()

auto exists ( ) const -> bool
inline
Returns
true if the docuement exists, false otherwise
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: