acs::db::nsdb-postgresql method call content_type register_relation_type (public)
<instance of acs::db::nsdb-postgresql> call content_type register_relation_type \ [ -dbn dbn ] -content_type content_type -target_type target_type \ [ -relation_tag relation_tag ] [ -min_n min_n ] [ -max_n max_n ]
Defined in packages/acs-api-browser/tcl/api-doc-init.tcl
Automatically generated method
- Switches:
- -dbn
(optional)- -content_type
(required)- -target_type
(required)- -relation_tag
(defaults to"generic"
) (optional)- -min_n
(defaults to"0"
) (optional)- -max_n
(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__register_relation_type(:content_type,:target_type,:relation_tag,:min_n,:max_n)}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle