db_exec (public)
db_exec [ -subst subst ] type db statement_name pre_sql [ ulevel ] \ [ args... ]
Defined in packages/acs-tcl/tcl/01-database-procs.tcl
A helper procedure to execute a SQL statement, potentially binding depending on the value of the $bind variable in the calling environment (if set).
- Switches:
- -subst (optional, defaults to
"all"
)- Parameters:
- type (required)
- db (required)
- statement_name (required)
- pre_sql (required)
- ulevel (optional, defaults to
"2"
)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- db__0or1row, db__1row, xowiki_test_cases