acs::db::nsdb-postgresql method call acs_rel new (public)
<instance of acs::db::nsdb-postgresql> call acs_rel new \ [ -dbn dbn ] [ -rel_id rel_id ] [ -rel_type rel_type ] \ [ -object_id_one object_id_one ] [ -object_id_two object_id_two ] \ [ -context_id context_id ] [ -creation_user creation_user ] \ [ -creation_ip creation_ip ]
Defined in packages/acs-api-browser/tcl/api-doc-init.tcl
Automatically generated method
- Switches:
- -dbn
(optional)- -rel_id
(optional)- -rel_type
(defaults to"relationship"
) (optional)- -object_id_one
(optional)- -object_id_two
(optional)- -context_id
(optional)- -creation_user
(optional)- -creation_ip
(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 acs_rel__new(:rel_id,:rel_type,:object_id_one,:object_id_two,:context_id,:creation_user,:creation_ip)}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle