Call a Postgres function
Perform a function call.
You can call Postgres functions as Remote Procedure Calls, logic in your database that you can execute from anywhere. Functions are useful when the logic rarely changes—like for password resets and updates.
Parameters
fn
REQUIRED
StringThe function name to call.
params
Optional
Map<String, dynamic>The arguments to pass to the function call.
final data = await supabase
.rpc('hello_world');