xo::db::Attribute method init (public)

 <instance of xo::db::Attribute[i]> init

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

Constructor of ::xo::db::Attribute. It provides defaults and creates the ACS attribute if necessary.

Testcases:
No testcase defined.
Source code:
next    ;# do first ordinary slot initialization
if {![info exists :sqltype]}     {set :sqltype     ${:datatype}}
if {![info exists :column_name]} {set :column_name ${:name}}

:create_attribute
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: