Query help: .or with multiple not null checks #1248
Unanswered
kennethacohen
asked this question in
Questions
Replies: 1 comment
-
Try it like: await supabase
.from("books")
.select("*")
.or("category_id.not.is.null,region_id.not.is.null") |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just not sure how to formulate this in the supabase format: just trying to query a table and get results where at least one of two columns is not null. I'm assuming there is no way for me to just write vanilla sql in Supabase, right?
In vanilla sql:
My attempt:
Beta Was this translation helpful? Give feedback.
All reactions