Skip to content

Investigate a Better Query Builder #211

@insipx

Description

@insipx

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions