Skip to content
Advertisement

Is there a way to perform full text search on multiple columns on Supabase with Javascript?

I’ve tried using many symbols to separate columns; ||, |, &&, & with and without spaces.

For instance

JavaScript

And nothing has worked 🙁

Advertisement

Answer

You could create a SQL function to perform search like this:

JavaScript

You can call this function like this:

JavaScript

You can read more about textSearch here

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement