Skip to content

Conversation

@DemetrisChr
Copy link
Contributor

Motivation

We can't distinguish whether the user explicitly set profile in the query options to 'off' or if it was left as the default value.

Change

Make profile optional in the core query_request which is only set if the user specifies the profile in the Public API's query options. Always send the profile parameter to the server if the user has set its value.

Results

All test cases in FIT's QueryParametersTest pass

@DemetrisChr DemetrisChr merged commit 3b375d6 into couchbase:main Apr 3, 2024
@DemetrisChr DemetrisChr deleted the CXXCBC-470-query-profile branch April 3, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants