Name

quote — Escapes text to make it valid SQL

Synopsis

Database.quote(sql)

Description

#quote replaces all single quote marks with a pair of single quote marks to make it safe for use as a SQL statement. This is not very useful, however: The use of bind variables is preferred over string literals.