:sig
function mysql_escape(raw : string) string
function mysql_escape(raw : string, quote : string) string

:params
raw : the string to escape
quote : the string that wraps the result

:returns
the escaped string

:content
`mysql_escape(raw)` escapes `raw` and wraps it in single quotes.

Use the second form to set the wrapper. Pass an empty string when no wrapper is needed. Prefer named parameters with `mysql_query()`.

:example capy render
print(mysql_escape("O'Brien", "'"), "\n")

:see-group
mysql
