xo::db::DB-postgresql instproc list (public)
<instance of xo::db::DB-postgresql> list [ -dbn dbn ] \ [ -bind bind ] [ -prepare prepare ] qn sql
Defined in /var/www/openacs/packages/xotcl-core/tcl/05-db-procs.tcl
Return the first column of each query result row as a list.
- 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, xowiki_test_cases
![[i]](/resources/acs-subsite/ZoomIn16.gif)