xo::db::SQL instproc datatype_constraint (public)

 <instance of xo::db::SQL[i]> datatype_constraint type table att

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

Return a database-specific constraint for an attribute datatype. The base implementation returns an empty string.

Parameters:
type (required)
Attribute datatype.
table (required)
Table name.
att (required)
Attribute name.

Testcases:
xotcl_core_tutorial_2
[ show source ]
Show another procedure: