zander
02/08/2022, 7:10 AMtitle column is text and tags column is text[]. I would like to query them both using the or filter to see if a given searchTerm was there. Is this possible?
js
const response = await supabaseClient
.from('items')
.select('*')
.or(
`title.ilike.%${searchTerm}%,tags.cs{${searchTerm}}`
)
The above example does not work.. any ideasgaryaustin
02/08/2022, 4:40 PMzander
02/08/2022, 5:01 PMtags.cs.{${searchTerm}}?zander
02/08/2022, 5:16 PM