-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GOCBC-1549: Allow both positional and named parameters to be set in q…
…uery Motivation ========== The server allows both to be set, so we shouldn't return an invalid argument error when that happens Changes ======= * Remove check where an invalidArgumentsError is returned when both PositionalParameters and NamedParameters are set in QueryOptions * Add tests for queries with both positional and named parameters Results ======= Query tests pass Change-Id: Ie87912e4385beb2fa1c8958a5ddecf23c993a33f Reviewed-on: https://review.couchbase.org/c/gocb/+/202622 Reviewed-by: Charles Dixon <chvckd@gmail.com> Tested-by: Dimitris Christodoulou <dimitris.christodoulou@couchbase.com>
- Loading branch information
1 parent
e2153b3
commit 9d30c13
Showing
3 changed files
with
83 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters