Is your feature request related to a problem? Please describe.
It would be interesting to have the basic crud operations like SELECT, UPDATE, DELETE, INSERT generated by the library. This way the user would avoid mistakes when creating basic queries.
Describe the solution you'd like
The way this could work is with an object Query for example that has different methods that will generate a SELECT * FROM table query string but this way :
Query.From(string table).Select()
The Select() method could have different implementation taking different parameters, each select would act differently :
Select() => SELECT * FROM table
Select(string column) => SELECT column FROM table
Select(params string[] columns) => SELECT columns[0], columns[1], ... FROM table
table is defined in the From(string table) method
Describe alternatives you've considered
none
Additional context
None for the moment
Is your feature request related to a problem? Please describe.
It would be interesting to have the basic crud operations like SELECT, UPDATE, DELETE, INSERT generated by the library. This way the user would avoid mistakes when creating basic queries.
Describe the solution you'd like
The way this could work is with an object
Queryfor example that has different methods that will generate aSELECT * FROM tablequery string but this way :The
Select()method could have different implementation taking different parameters, each select would act differently :Select()=>SELECT * FROM tableSelect(string column)=>SELECT column FROM tableSelect(params string[] columns)=>SELECT columns[0], columns[1], ... FROM tabletableis defined in theFrom(string table)methodDescribe alternatives you've considered
none
Additional context
None for the moment