How to query for uuid in an array? #3473
-
Hi, const model = {
id: uuid,
reference: uuid[]
} But I cannot figure out a way to query for this using the normal syntax. 🤔 I there a way? My current code: supabaseClient
.from("notes")
.select("*")
.in('references', ["583104d5-xxxxxx-131a40531afc"]); returns the quite logical error: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I also can't seem to create a function for this.. 🤔 Seems like the syntax is a bit obscure and hard to google. |
Beta Was this translation helpful? Give feedback.
-
Still new to Github.... adding so can be answer.... |
Beta Was this translation helpful? Give feedback.
Still new to Github.... adding so can be answer....
Try .contains.
.in means search column for anything in this array of values.