Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
There is a simple utility method that escapes strings that is present in the original driver and missing from this implementation.
The text was updated successfully, but these errors were encountered:
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.
Sorry, something went wrong.
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.
Added in 0.21.0.
No branches or pull requests