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

 <instance of xo::db::DB-postgresql[i]> sets [ -dbn dbn ] \
    [ -bind bind ] [ -prepare prepare ] qn sql

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

Return a list of ns_set handles, one per query result row.

Switches:
-dbn (optional)
Database name, or empty for the default.
-bind (optional)
Query bind values.
-prepare (optional)
Optional prepared-statement argument types.
Parameters:
qn (required)
Query name.
sql (required)
SQL statement.

Testcases:
xotcl_core_tutorial_2
[ show source ]
Show another procedure: