template::util::list_to_multirow (public)
template::util::list_to_multirow name rows [ level ]
Defined in packages/acs-templating/tcl/util-procs.tcl
populate a multirow data source from a list string gotten from a call to template::util::multirow_to_list
- Parameters:
- name (required)
- the name of a multirow data source
- rows (required)
- a representation of a multirow data source as a list, suitable for passing by value in the form { { row } { row } { row } ... }
- level (optional, defaults to
"1"
)- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: upvar $level $name:rowcount rowcount set rowcount [llength $rows] set rownum 1 foreach rowlist $rows { lappend rowlist rownum $rownum upvar $level $name:$rownum row array set row $rowlist incr rownum }XQL Not present: Generic, PostgreSQL, Oracle