lovis
02/20/2019, 2:24 PMselect
clause.
Someone who’s used to sql would expect the dsl to work something like this:
val gamailUsers = Users.select(id, name, email)
.where { email like "%@gmail.com"}
.map { ... }
But instead expose uses slice
to do the projection. And select to do the selection. Why is this? I don’t realy have an opinion, I just want to know what the reason behind this decision was.tapac
02/20/2019, 8:56 PMselectAll
function, how do you think it should be renamed? all
? Any suggestions?lovis
02/21/2019, 8:52 AMselectAll
is nice actually so I don’t know if it should be renamedtapac
02/21/2019, 12:05 PMFooTable.select(FooTable.bar).selectAll()
lovis
02/21/2019, 12:22 PM