SQL_QuoteStringFmt
native SQL_QuoteStringFmt(Handle:db, buffer[], buflen, const fmt[], any:...);
| Parameter |
Description |
| db | Database handle for localization, or Empty_Handle
for when a handle is not available. |
| buffer | Buffer to copy to. |
| buflen | Maximum size of the buffer. |
| fmt | Format of string to backquote (should not overlap buffer). |
| ... | Format arguments. |
Back-quotes characters in a string for database querying.
Note: The buffer's maximum size should be 2*strlen(string) to catch
all scenarios.
Length of new string, or -1 on failure.