escapeString

fnstring escapeString(string string_)

Escapes string to make it understandable by a DBMS. The escape method is very common and replaces any occurrence of "'" with "''" and "\" with "\\"

Parameters

string_string to escape

Returns

a new string