acs::db::nsdb-postgresql method call acs_object set_attribute (public)

 <instance of acs::db::nsdb-postgresql[i]> call acs_object set_attribute \
    [ -dbn dbn ] -object_id_in object_id_in  \
    -attribute_name_in attribute_name_in  -value_in value_in 

Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl

Automatically generated method TYPES: integer {character varying} {character varying}

Switches:
-dbn (optional)
-object_id_in (required)
-attribute_name_in (required)
-value_in (required)

Testcases:
No testcase defined.
Source code:
db_with_handle -dbn $dbn __DB {
   set s [ns_pg_bind 0or1row $__DB {select acs_object__set_attribute(CAST(:object_id_in AS integer),:attribute_name_in,:value_in)}]
   return [ns_set value $s 0]
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: