Need help with Postgres functuons.
I've been working on an app for about 3 years now. My techwizard friend suggested I build it in Javascript and then convert it to Postgrest & Kotlin. He's unfortunatly no longer available. Would anyone mind helping walk me through how to turn a Javascript DB call into a "Frontend sends the function & argument, then the backend responds with relevent data" Postgrest function?