Skip to content

Commit ba795d0

Browse files
authored
Add query read from replica feature macro (#435)
1 parent ba0bc82 commit ba795d0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

core/meta/features.hxx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,10 @@
4141
* couchbase::core::range_scan_orchestrator and relevant options in the core API
4242
*/
4343
#define COUCHBASE_CXX_CLIENT_CORE_HAS_RANGE_SCAN 1
44+
45+
/**
46+
* Query with reads from replica is available:
47+
* - use_replica field in couchbase::core::operations::query_request
48+
* - couchbase::query_options::use_replica()
49+
*/
50+
#define COUCHBASE_CXX_CLIENT_QUERY_READ_FROM_REPLICA 1

0 commit comments

Comments
 (0)