Skip to content
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

Investigate a Better Query Builder #211

Open
insipx opened this issue Jan 29, 2021 · 0 comments
Open

Investigate a Better Query Builder #211

insipx opened this issue Jan 29, 2021 · 0 comments
Labels

Comments

@insipx
Copy link
Collaborator

insipx commented Jan 29, 2021

We are currently using the batch.rs file recommended to me in Discord by mehcode of SQLx. It works OK, but it's a bit ugly/hard to review/can be made more succinct and clear. Possible suggestions have been to move much of the query building code into a Macro to clean it up a bit.

Code in question is stuff like this:

While doing the refactor of replacing Diesel with SQLx in this project (maybe 3/4 of a year ago), I came across Quaint which I had hoped would develop tighter SQLx integration, esp with prisma/quaint#158. It still might be worth keeping an eye on, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant