Skip to content

DOC-8773: Java 3 quickstart: use LIKE instead of = - #11

Open
markspolakovs wants to merge 1 commit into
couchbase:masterfrom
markspolakovs:patch-1
Open

DOC-8773: Java 3 quickstart: use LIKE instead of =#11
markspolakovs wants to merge 1 commit into
couchbase:masterfrom
markspolakovs:patch-1

Conversation

@markspolakovs

Copy link
Copy Markdown

The last example of step 4 does the query SELECT * FROM bucketName WHERE email = $email, but then runs it with the parameters {"email": "%@acme.com"}. This returns no results, as the correct query would be SELECT * FROM bucketName WHERE email LIKE $email. This PR corrects the example.

@markspolakovs markspolakovs changed the title Use LIKE instead of = Java 3 quickstart: use LIKE instead of = Jul 6, 2021
@markspolakovs markspolakovs changed the title Java 3 quickstart: use LIKE instead of = DOC-8773: Java 3 quickstart: use LIKE instead of = Jul 9, 2021
The last example of step 4 does the query `SELECT * FROM bucketName WHERE email = $email`, but then runs it with the parameters `{"email": "%@acme.com"}`. This returns no results, as the correct query would be `SELECT * FROM bucketName WHERE email LIKE $email`. This PR corrects the example.
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.

1 participant