acs::db::nsdb-postgresql method call content_type create_type (public)
<instance of acs::db::nsdb-postgresql> call content_type create_type \ [ -dbn dbn ] -content_type content_type [ -supertype supertype ] \ -pretty_name pretty_name -pretty_plural pretty_plural \ -table_name table_name [ -id_column id_column ] \ [ -name_method name_method ]
Defined in packages/acs-api-browser/tcl/api-doc-init.tcl
Automatically generated method
- Switches:
- -dbn
(optional)- -content_type
(required)- -supertype
(defaults to"content_revision"
) (optional)- -pretty_name
(required)- -pretty_plural
(required)- -table_name
(required)- -id_column
(defaults to"XXX"
) (optional)- -name_method
(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_type(:content_type,:supertype,:pretty_name,:pretty_plural,:table_name,:id_column,:name_method)}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle