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

The transactions_query_config sets the defaults for all queries in the transactions. More...

#include <couchbase/transactions/transactions_query_config.hxx>

Public Member Functions

auto scan_consistency (query_scan_consistency consistency) -> transactions_query_config &
 Set scan consistency for transactions.
 
auto scan_consistency () const -> query_scan_consistency
 Get the scan consistency.
 

Detailed Description

The transactions_query_config sets the defaults for all queries in the transactions.

Member Function Documentation

◆ scan_consistency() [1/2]

auto scan_consistency ( ) const -> query_scan_consistency
inlinenodiscard

Get the scan consistency.

Returns
the query_scan_consistency

◆ scan_consistency() [2/2]

auto scan_consistency ( query_scan_consistency consistency) -> transactions_query_config&
inline

Set scan consistency for transactions.

See also
query_options::scan_consistency for details.
Parameters
consistencythe query_scan_consistency to use.
Returns
reference to this, so calls can be chained.

The documentation for this class was generated from the following file: