xo::db::require proc default (public)
xo::db::requiredefault [ -table table ] [ -col col ] [ -value value ]
Defined in /var/www/openacs/packages/xotcl-core/tcl/05-db-procs.tcl
Set a column default when it differs from the requested value.
- Switches:
- -table (optional)
- Table to alter.
- -col (optional)
- Column name.
- -value (optional)
- SQL default expression.
- Testcases:
- xotcl_core_tutorial_2
![[i]](/resources/acs-subsite/ZoomIn16.gif)