acs::db::nsdb-postgresql method call content_item get_latest_revision (public)

 <instance of acs::db::nsdb-postgresql[i]> call content_item get_latest_revision \
    [ -dbn dbn ] [ -item_id item_id ]

Defined in packages/acs-api-browser/tcl/api-doc-init.tcl

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) acs::db::nsdb-postgresql instproc {call content_item get_latest_revision} acs::db::nsdb-postgresql instproc {call content_item get_latest_revision} acs::db::nsdb-postgresql instproc {call content_item get_latest_revision}->db_with_handle

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