Commit Graph

3 Commits

Author SHA1 Message Date
Gibheer 01b87332d9 add a way to set attributes
For this to work, I have added a new function that takes a list of
key looking things and converts them into json.
At the same time, it also can convert json looking payloads and
prepare it for the database (that last part was not intended, but
works).

With the many columns where setting attributes is possible, this
functionality should help quite a bit.
2021-05-07 10:17:05 +02:00
Gibheer 0f42d2b9ed fix query tests
After the query API was a bit adjusted, the tests weren't fixed.
2021-05-03 21:14:08 +02:00
Gibheer ee5acc6ded add query interface
This is a small library to build queries and put the result into the
world.
Currently it supports building the select clause and converting rows
into a list of maps, so that it can be returned as a list.
2021-04-28 21:05:31 +02:00