https://supabase.com/ logo
#help
Title
# help
l

Lars

04/20/2022, 4:01 PM
I genuinely think I have seen somewhere that you can use sql commands in JS via something like supabase.sql("SELECT '*'" FROM...) instead of supabase.select()... But I can't seem to find it anymore. Only references to RPC - is it something that I am imagining?
n

Needle

04/20/2022, 4:01 PM
Hello @Lars! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
s

silentworks

04/20/2022, 4:11 PM
Yes that is something you are imagining.
n

Needle

04/20/2022, 4:11 PM
Lars (2022-04-20)
l

Lars

04/20/2022, 4:15 PM
@silentworks it wouldn't be the first time, but thanks!
so the only way to use custom sql queries is to use rpc?
s

silentworks

04/20/2022, 5:41 PM
Yes or you can use a view depending on what your query is.
n

Needle

04/20/2022, 6:56 PM
Thread was archived by @Lars. Anyone can send a message to unarchive it.