ad_page_contract_filter_proc_dbtext (public)
ad_page_contract_filter_proc_dbtext name value_varname
Defined in packages/acs-tcl/tcl/tcl-documentation-procs.tcl
Ensure that the value can be used in an SQL query. Note that this is not the same as quoting or otherwise ensuring the safety of the statement itself. What we enforce here is that the value will be accepted by the db interface without complaining. The actual definition may change or be database specific in the future.
- Parameters:
- name
value_varname
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- ad_page_contract_filters
Source code: upvar $value_varname value # # Reject the NUL character # if {[string first \u00 $value] != -1} { ad_complain [_ acs-tcl.lt_name_contains_invalid] return 0 } return 1XQL Not present: Generic, PostgreSQL, Oracle