-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Cannot use array parameter in SqlBuilder #10
Comments
Added SQL.Param method to workaround this issue, e.g.: byte[] imageData = GetImageData();
var update = SQL
.UPDATE("images")
.SET("content = {0}", SQL.Param(imageData))
.WHERE("id = {0}", id); |
Cannot find SQL.param in latest code ?? Has it been removed? I am having trouble adding the byte[] array
|
|
And this also applies to byte[] when the field is a concurrency field? |
No, it shouldn't. Perhaps if you show me some code I can help. |
Same code as at the top of here #39 |
Looks like a provider issue. If |
NOTE: In v6, this is no longer an issue. For more information see SqlBuilder Tutorial: Lists.
e.g.
Need to workaround parameter expansion, like this:
The text was updated successfully, but these errors were encountered: