Acceccing authenticated user in rpc() s
How can I access current signed-in user details in PostgreSQL functions when called using rpc() in dart. I want to increment user's counter so I need to extract current user id in order to execute the query wth it.