template::list::element_select_clauses (public)

 template::list::element_select_clauses -name name [ -comma ]

Defined in packages/acs-templating/tcl/list-procs.tcl

Switches:
-name (required)
-comma (optional, boolean)
Set this flag if you want the result to start with a ',' if the list of select clauses returned is nonempty.

Partial Call Graph (max 5 caller/called nodes):
%3 template::list::create template::list::create (public) template::list::element_select_clauses template::list::element_select_clauses template::list::create->template::list::element_select_clauses template::list::get_reference template::list::get_reference (public) template::list::element_select_clauses->template::list::get_reference

Testcases:
No testcase defined.
Source code:
    # Get an upvar'd reference to list_properties
    get_reference -name $name

    if { [llength $list_properties(element_select_clauses)] == 0 } {
        return {}
    }

    set result {}
    if { $comma_p } {
        append result ", "
    }
    append result [join $list_properties(element_select_clauses) "\n , "]

    return $result
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: