acs::db::nsdb-postgresql method call content_type create_attribute (public)
<instance of acs::db::nsdb-postgresql> call content_type create_attribute \ [ -dbn dbn ] -content_type content_type \ -attribute_name attribute_name -datatype datatype \ -pretty_name pretty_name [ -pretty_plural pretty_plural ] \ [ -sort_order sort_order ] [ -default_value default_value ] \ [ -column_spec column_spec ]
Defined in packages/acs-api-browser/tcl/api-doc-init.tcl
Automatically generated method
- Switches:
- -dbn
(optional)- -content_type
(required)- -attribute_name
(required)- -datatype
(required)- -pretty_name
(required)- -pretty_plural
(optional)- -sort_order
(optional)- -default_value
(optional)- -column_spec
(defaults to"text"
) (optional)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: db_with_handle -dbn $dbn __DB { set s [ns_pg_bind 0or1row $__DB {select content_type__create_attribute(:content_type,:attribute_name,:datatype,:pretty_name,:pretty_plural,:sort_order,:default_value,:column_spec)}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle