How we can call postgres user defined function from Parse Javascript

Hello Friends,
I am using postgres as a database and i want to call postgres user defined function from parse javascript sdk.

Please help as i am stuck in it.

I believe there is not any feature in place to make it easier. You will have to use the Postgres driver directly and call the function.