You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like this would only be used to build SQL statements by concatenating strings, which I'd normally strongly discourage (use parameterised statements instead).
However, there are some high-performance use cases (e.g., bulk-inserting tens of thousands of rows by building a SQL string) that would benefit from such a function, so I can see value in adding it.
Exactly, I usually create huge commands 1Mb in size each to do bulk inserts or updates in mysql, and it's much faster than using dapper with parameters. This method is handy in these cases.
There is a simple utility method that escapes strings that is present in the original driver and missing from this implementation.
MySqlHelper.EscapeString(string)
;The text was updated successfully, but these errors were encountered: