xo::db::require proc exists_column (public)

 xo::db::require[i] exists_column table_name column_name

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

Check whether a table contains a column.

Parameters:
table_name (required)
Table to inspect.
column_name (required)
Column to look up.
Returns:
Whether the column exists.

Testcases:
xotcl_core_tutorial_2
[ show source ]
Show another procedure: