xowiki::FormPage proc compute_filter_clauses (public)

 xowiki::FormPage[i] compute_filter_clauses [ -unless unless ] \
    [ -where where ]

Defined in /var/www/openacs.org/packages/xowiki/tcl/xowiki-procs.tcl

Compute from "-unless" or "-where" specs the "tcl", "sql" and optional "hstore" query fragments.

Switches:
-unless (optional)
-where (optional)
Returns:
dict containing "init_vars", "uc" (unless clauses) and "wc" (where clauses)

Testcases:
create_composite_test_item
[ show source ]
Show another procedure: