-
Notifications
You must be signed in to change notification settings - Fork 133
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
add SQLx driver #57
Comments
At least for now, this is harder than you'd expect for multiple reasons:
I may continue this later with Pool rather than the direct Connections if there's still interest. |
hi, and thanks for looking into this! 👍
that is ok i think, regarding the other two issues, i'd rather wait for sqlx to update to 0.23, and the compiler bugs to be fixed, what do you think? |
I don't know how soon the compiler bugs will be fixed, but I think waiting for a new SQLx version to work around them would be good enough. One other question: how would the API for this work? I've got the basic driver done but I'm not as sure about the other necessary changes. Since there would be multiple types which could provide migrations for the different database types it complicates things a bit. |
ok awesome 👍
I am not sure, but what you are saying is that, through SQLx traits we can't have a unified API for all of their supported drivers? |
Has anything changed on the status of this issue since these previous comments? I'm happy to take a look at implementing something if there aren't any blockers..? |
hi @JamesHinshelwood, have the issues mentioned by @belak on #57 (comment) been addressed? |
This is already resolved in latest SQLx master, however, there is a big release coming up which seems to change things fundamentally so it might be good to wait for 0.6 to be released. |
also, since |
Hello, I think this is still relevant. If I use sqlx already in a project then it can be considered an overkill to add another driver (tokio-postgres for example) just for migrations support. |
Hi, and thanks for the interest! But doesn't |
It does, but:
|
Ok I see, thanks for expanding! As I mentioned on #295 (comment) I don't think it makes sense to add more drivers to this repo, but if you are willing to implement support for sqlx I'd love to include it on the |
No description provided.
The text was updated successfully, but these errors were encountered: