New issue
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? Sign in to your account
Provide an escape function #4
Comments
I guess I will use the native MySQL C API functions: mysql_real_escape_string and/or mysql_real_escape_string_quote. |
Hi there, |
There are problem with this function: Not every character's length is 2. |
You passed an incorrect enum type. Due to different char sets support I had to define own type |
Opps, my bad. It worked fine. |
Well, public method added. The developer is responsible to call |
The building of query string lacks escaping of special characters. I suggest adding a public function like this and apply it to
NSString (SQLQueries)
functions.The text was updated successfully, but these errors were encountered: