We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi all
I am trying to write an OR query that looks as follows:
query MyQuery { guest(where: {_or: {email_code_verified: {_eq: true}, phone_code_verified: {_eq: true}}}) { id } }
I would like to get all records where either the email_code_verified or the phone_code_verified is true.
email_code_verified
phone_code_verified
true
Here a look into the db:
I am getting an empty response:
{ "data": { "guest": [] } }
In the Analyze I can see that there is an AND instead of an OR:
Analyze
AND
OR
The text was updated successfully, but these errors were encountered:
The discord community helped me out, Iearned that it is not possible to create such an OR query with the Hasura UI.
Are there any plans to support OR in the UI?
Query:
query MyQuery { guest(where: {_or: [{email_code_verified: {_eq: true}}, { phone_code_verified: {_eq: true} }] }) { id } }
Sorry, something went wrong.
Closing as tracking: #4488 #3322 OneGraph/graphiql-explorer#32
No branches or pull requests
Hi all
I am trying to write an OR query that looks as follows:
I would like to get all records where either the
email_code_verified
or thephone_code_verified
istrue
.Here a look into the db:
I am getting an empty response:
In the
Analyze
I can see that there is anAND
instead of anOR
:The text was updated successfully, but these errors were encountered: