xo::db::SQL instproc datatype_constraint (public)
<instance of xo::db::SQL> 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
Source code: return ""XQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)