db_bind_var_quoted_p (private)

 db_bind_var_quoted_p sql bind_start_idx bind_end_idx

Defined in packages/acs-tcl/tcl/01-database-procs.tcl

Parameters:
sql (required)
bind_start_idx (required)
bind_end_idx (required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_bind_var_substitution db_bind_var_substitution (public) db_bind_var_quoted_p db_bind_var_quoted_p db_bind_var_substitution->db_bind_var_quoted_p db_get_quote_indices db_get_quote_indices (private) db_bind_var_quoted_p->db_get_quote_indices

Testcases:
No testcase defined.
Source code:
    foreach {quote_start_idx quote_end_idx} [db_get_quote_indices $sql] {
        if { $bind_start_idx > $quote_start_idx && $bind_end_idx < $quote_end_idx } {
            return 1
        }
    }

    return 0
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: