template::list::filter_where_clauses (public)

 template::list::filter_where_clauses -name name [ -and ]

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

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

Partial Call Graph (max 5 caller/called nodes):
%3 packages/acs-admin/www/auth/batch-job.tcl packages/acs-admin/ www/auth/batch-job.tcl template::list::filter_where_clauses template::list::filter_where_clauses packages/acs-admin/www/auth/batch-job.tcl->template::list::filter_where_clauses packages/acs-lang/www/admin/message-conflicts.tcl packages/acs-lang/ www/admin/message-conflicts.tcl packages/acs-lang/www/admin/message-conflicts.tcl->template::list::filter_where_clauses packages/views/lib/views-chunk.tcl packages/views/ lib/views-chunk.tcl packages/views/lib/views-chunk.tcl->template::list::filter_where_clauses template::list::create template::list::create (public) template::list::create->template::list::filter_where_clauses template::list::get_reference template::list::get_reference (public) template::list::filter_where_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(filter_where_clauses)] == 0 } {
        return {}
    }

    set result {}
    if { $and_p } {
        append result "and "
    }
    append result [join $list_properties(filter_where_clauses) "\n and "]
    return $result
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: