The SQL functions have not changed (yet) since prototype has been released, you can see the doc here Restad-SQL-functions.
Database schema