Helper to properly stringify a value for SQL.
The value to convert.
An SQL-safe string representation.
Helper to properly stringify a value for SQL.