data.sqlSafe
Description
Escape a string field to SQL.

Parameters
query string

Return value
escapedString string

Example
print(data.sqlSafe("O'Leary"))
-- O''Leary

Comments

See also
data.runSelectQuery
data.runExecQuery

Back
Generated on the 26 June 2024 at 22:01:27 (UK Time)