acs::db::nsdb-postgresql method call content_keyword item_assign (public)
<instance of acs::db::nsdb-postgresql> call content_keyword item_assign \ [ -dbn dbn ] -item_id item_id -keyword_id keyword_id \ [ -context_id context_id ] [ -creation_user creation_user ] \ [ -creation_ip creation_ip ]
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: integer integer integer integer {character varying}
- Switches:
- -dbn (optional)
- -item_id (required)
- -keyword_id (required)
- -context_id (optional, accept empty)
- -creation_user (optional, accept empty)
- -creation_ip (optional, accept empty)
- Testcases:
- No testcase defined.
Source code: db_with_handle -dbn $dbn __DB { set s [ns_pg_bind 0or1row $__DB {select content_keyword__item_assign(CAST(:item_id AS integer),CAST(:keyword_id AS integer),CAST(:context_id AS integer),CAST(:creation_user AS integer),:creation_ip)}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle