template::list::page_where_clause (public)
template::list::page_where_clause -name name [ -and ] [ -key key ]
Defined in packages/acs-templating/tcl/list-procs.tcl
- Switches:
- -name (required)
- -and (optional, boolean)
- Set this flag if you want the result to start with an 'and' if the list of where clauses returned is nonempty.
- -key (optional)
- Specify the name of the primary key to be used in the query's where clause, if different from the list builder's key.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: # Get an upvar'd reference to list_properties get_reference -name $name if { $list_properties(page_size) eq "" || $list_properties(page_size) == 0 } { return {} } set result {} if { $and_p } { append result "and " } if { $key eq "" } { set key $list_properties(key) } append result "$key in ([page_get_ids -name $name])" return $resultXQL Not present: Generic, PostgreSQL, Oracle