- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xo::db::SQL
::xo::db::SQLcreate ...
Defined in
Class Relations
Methods (to be applied on instances)
datatype_constraint (scripted, public)
<instance of xo::db::SQL> datatype_constraint type table att
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
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
![[i]](/resources/acs-subsite/ZoomIn16.gif)