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.
Is your feature request related to a problem? Please describe.
According to feedback from the community, the function
generate_sqlis complex and can be simplified by using an existing library to generate sql.Describe the solution you'd like
The crate
sql_builderseems 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_buildercould simplify the code, but it can also increase its footprint. A lot of features in that library are not applicable in this project.