db_getrow (private)

 db_getrow db selection

Defined in packages/acs-tcl/tcl/01-database-procs.tcl

A helper procedure to perform an ns_db getrow, invoking developer support routines as necessary.

Parameters:
db (required)
selection (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_xowiki_test_cases xowiki_test_cases (test xowiki) db_getrow db_getrow test_xowiki_test_cases->db_getrow ds_collect_db_call ds_collect_db_call (public) db_getrow->ds_collect_db_call db_list db_list (public) db_list->db_getrow db_list_of_lists db_list_of_lists (public) db_list_of_lists->db_getrow db_list_of_ns_sets db_list_of_ns_sets (public) db_list_of_ns_sets->db_getrow xo::db::DB-postgresql instproc list xo::db::DB-postgresql instproc list xo::db::DB-postgresql instproc list->db_getrow xo::db::DB-postgresql instproc list_of_lists xo::db::DB-postgresql instproc list_of_lists xo::db::DB-postgresql instproc list_of_lists->db_getrow

Testcases:
xowiki_test_cases
Source code:
    set start_time [expr {[clock clicks -microseconds]/1000.0}]
    set errno [catch { return [ns_db getrow $db $selection] } error]
    ds_collect_db_call $db getrow "" "" $start_time $errno $error
    if { $errno == 2 } {
        return $error
    }
    return -code $errno -errorinfo $::errorInfo -errorcode $::errorCode $error
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: