Skip to content

Refactor function generate_sql to use crate sql_builder #6

@htmfilho

Description

@htmfilho

Is your feature request related to a problem? Please describe.

According to feedback from the community, the function generate_sql is complex and can be simplified by using an existing library to generate sql.

Describe the solution you'd like

The crate sql_builder seems to be a good option: https://docs.rs/sql-builder/latest/sql_builder/

Describe alternatives you've considered

The current implementation fulfills the needs of the project. Using sql_builder could simplify the code, but it can also increase its footprint. A lot of features in that library are not applicable in this project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions