xo::db::DB-postgresql instproc generate_psql (public)

 <instance of xo::db::DB-postgresql[i]> generate_psql package_name \
    object_name

Defined in /var/www/openacs/packages/xotcl-core/tcl/05-db-procs.tcl

Generate argument metadata and a Tcl wrapper body for calling a PostgreSQL function through the database API.

Parameters:
package_name (required)
SQL package name.
object_name (required)
Function name within the package.
Returns:
The argument metadata dictionary with a body entry.

Testcases:
xotcl_core_tutorial_2
[ show source ]
Show another procedure: