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):
- 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 $errorXQL Not present: Generic, PostgreSQL, Oracle