-
Notifications
You must be signed in to change notification settings - Fork 13
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
Is there UUID support? #10
Comments
@onx2 Did you ever sort this out? I'm in the same boat. |
@mike-lloyd03 I didn't put any effort into resolving this issue because I was just playing around with some personal projects. For my professional work I've been using Diesel. You could also check out sqlx which would be a closer comparison to this package than diesel. If you want to stick with this package you might be able to submit a PR but it looks like it isn't maintained anymore (last commit). Your best bet is probably forking and maybe modifying arg.rs to support UUID. |
Believe it or not, I'm actually using this to generate the sql that I pass into sqlx. The But also |
Is there now (or in the future) UUID support or should I just convert to a string?
Also, would you recommend using
.and_where("id = $1".bind(&SqlName::new(id).safe()))
to prevent sql injection since theid
is passed from the client or is my understanding ofSqlName
incorrect?The text was updated successfully, but these errors were encountered: