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

 <instance of xo::db::Attribute[i]> column_spec \
    [ -id_column id_column ]

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

Switches:
-id_column (optional, defaults to "false")
Returns:
the full SQL spec for a DB attribute, potentially containing defaults, primary key, constraints, etc.

Testcases:
No testcase defined.
[ show source ]
Show another procedure: