db_with_handle (public)
db_with_handle [ -dbn dbn ] db code_block
Defined in packages/acs-tcl/tcl/01-database-procs.tcl
Place a usable database handle in db and executes code_block.
- Switches:
- -dbn (optional)
- Database name to use. If empty_string, use the default database
- Parameters:
- db (required)
- Name of the handle variable used in the code block
- code_block (required)
- code block to be executed with handle
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- db__0or1row, db__1row, xowiki_test_cases