Improve kbuilder README

pull/2/head
Vinícius Garcia 2021-09-17 22:06:06 -03:00
parent 61f21409a0
commit a503c218ba
2 changed files with 6 additions and 2 deletions

View File

@ -3,8 +3,12 @@
This is the Keep It Stupid Simple query builder created to work
either in conjunction or separated from the ksql package.
This package was started after ksql and while the ksql is already
in a usable state I still don't recommend using this one since this
being actively implemented and might change without further warning.
## TODO List
- Support Insert and Update operations
- Add support to Update and Delete operations
- Improve support to JOINs by adding the `tablename` tag to the structs
- Add error check for when the Select, Insert and Update attrs are all empty

View File

@ -67,7 +67,7 @@ func TestInsertQuery(t *testing.T) {
expectedErr: true,
},
{
desc: "should report error Data contains an empty list",
desc: "should report error if `Data` contains an empty list",
query: kbuilder.Insert{
Into: "users",
Data: []User{},