Module mysql.escape

Escape special characters in MySQL strings.

Functions

NameDescription
mysqlEscape(input) Helper function to easily construct a escape wrapper struct
mysql_escape(input, buffer) Simple escape function for dangerous SQL characters

Structs

NameDescription
MysqlEscape Struct to wrap around a string so it can be passed to formattedWrite and be properly escaped all using the buffer that formattedWrite provides.