Options for collection::get_all_replicas().
More...
#include <couchbase/get_all_replicas_options.hxx>
|
struct | built |
| Immutable value object representing consistent options. More...
|
|
Options for collection::get_all_replicas().
- Since
- 1.0.0
- Committed
- Generally available API and should be preferred in production
◆ build()
auto build |
( |
| ) |
const -> built
|
|
inlinenodiscard |
Validates options and returns them as an immutable value.
- Returns
- consistent options as an immutable value
- Exceptions
-
- Since
- 1.0.0
- Internal
- Internal interface
◆ read_preference()
Choose how the replica nodes will be selected.
By default it has no preference and will select all replicas available. But it is possible to prioritize or restrict to only nodes in local server group.
- Parameters
-
- Returns
- this options builder for chaining purposes.
- Since
- 1.0.0
- Committed
- Generally available API and should be preferred in production
The documentation for this struct was generated from the following file: