set_variables_after_query_not_selection (public, deprecated)

 set_variables_after_query_not_selection selection_variable \
    [ name_prefix ]

Defined in packages/acs-tcl/tcl/deprecated-procs.tcl

Deprecated. Invoking this procedure generates a warning.

to be removed.

Parameters:
selection_variable (required)
name_prefix (optional)
See Also:
  • packages/acs-tcl/tcl/00-database-procs.tcl

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc set_variables_after_query_not_selection
    set set_variables_after_query_i 0
    set set_variables_after_query_limit [ns_set size $selection_variable]
    while {$set_variables_after_query_i<$set_variables_after_query_limit} {
        # NB backslash squarebracket needed since mismatched {} would otherwise mess up value stmt.
        uplevel "
        set ${name_prefix}[ns_set key $selection_variable $set_variables_after_query_i] \[ns_set value $selection_variable $set_variables_after_query_i]
        "
        incr set_variables_after_query_i
    }
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-tcl/tcl/deprecated-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: