acs::db::nsdb-postgresql method call views_by_type record_view (public)

 <instance of acs::db::nsdb-postgresql[i]> call views_by_type record_view \
    [ -dbn dbn ] [ -object_id object_id ] [ -viewer_id viewer_id ] \
    -view_type view_type 

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

Automatically generated method

Switches:
-dbn
(optional)
-object_id
(optional)
-viewer_id
(optional)
-view_type
(required)

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

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