-
Notifications
You must be signed in to change notification settings - Fork 192
Problem with query creation using the IN operator #1308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What server version? |
Couchbase 6.5.1 I upgraded to 4.3.1 when going from spring boot 2.6.2 to 2.6.3 With 2.6.2 the repository used arrays instead of collections and it worked fine. With the new version, neither arrays nor collections seem to work. |
There's a change in 4.3 to make it work with a change in 7.1. https://issues.couchbase.com/browse/MB-26606 |
The regression occurred in changes for https://issues.couchbase.com/browse/MB-26606. Closes #1308.
The regression occurred in changes for https://issues.couchbase.com/browse/MB-26606. Closes #1308.
The regression occurred in changes for https://issues.couchbase.com/browse/MB-26606. Closes #1308.
The regression occurred in changes for https://issues.couchbase.com/browse/MB-26606. Closes #1308.
I am using spring data couchbase 4.3.1
There seems to be a problem with query creation in the way the IN operator values are mapped.
Here's my repository declaration :
Here's the kind of error I get when one of the collections has a size greater than 1 :
The query in a more readable form :
The IN operator seems to work fine with parentheses for just one value but it seems brackets are needed for a list of values.
The couchbase documentation doesn't even mentions parentheses, only brackets :
https://docs.couchbase.com/server/current/n1ql/n1ql-language-reference/collectionops.html#collection-op-in
The text was updated successfully, but these errors were encountered: