Skip to content

[FEAT] Basic auto generated CRUD #4

@aspirio187

Description

@aspirio187

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 :

  1. Select() => SELECT * FROM table
  2. Select(string column) => SELECT column FROM table
  3. 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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions