db_quote (public, deprecated)
db_quote string
Defined in packages/acs-tcl/tcl/01-database-procs.tcl
Deprecated. Invoking this procedure generates a warning.
Quotes a string value to be placed in a SQL statement. Use the built-in ns_dbquotevalue instead, which cares also about the surrounding quotes.
- Parameters:
- string (required)
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: ad_log_deprecated proc db_quote regsub -all -- {'} "$string" {''} result return $resultXQL Not present: Generic, PostgreSQL, Oracle