thana
12/14/2020, 10:26 AMchristophsturm
12/14/2020, 12:02 PMchristophsturm
12/14/2020, 12:03 PMthana
12/14/2020, 12:15 PMVaclav Hodek
12/15/2020, 12:54 PMval transformedUsers = dao.query { db ->
db.getUsers().filter { .. }.map { .. }
}
The dao.query { ... }
block is a transaction with proper exception handling, rollbacks and commits.
For REST API, it's more than enough.
With custom mapping and other features, you can easily extend it.