db_nth_pool_name (public)
db_nth_pool_name [ -dbn dbn ] n
Defined in packages/acs-tcl/tcl/01-database-procs.tcl
- Switches:
- -dbn (optional)
- The database name to use. If empty_string, uses the default database.
- Parameters:
- n (required)
- Returns:
- the name of the pool used for the nth-nested selection (0-relative).
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set available_pools [db_available_pools $dbn] if { $n < [llength $available_pools] } { set pool [lindex $available_pools $n] } else { return -code error "Ran out of database pools ($available_pools)" } return $poolXQL Not present: Generic, PostgreSQL, Oracle