acs::db::nsdb-postgresql method call etp get_attribute_value (public)
<instance of acs::db::nsdb-postgresql> call etp get_attribute_value \ [ -dbn dbn ] -object_id object_id -attribute_id attribute_id
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: integer integer
- Switches:
- -dbn (optional)
- -object_id (required)
- -attribute_id (required)
- Testcases:
- No testcase defined.
Source code: db_with_handle -dbn $dbn __DB { set s [ns_pg_bind 0or1row $__DB {select etp__get_attribute_value(CAST(:object_id AS integer),CAST(:attribute_id AS integer))}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle