It’s not possible with DAO only, because required ...
# exposed
t
It’s not possible with DAO only, because required aggregated sql operation. The only way (I guess) is use DAO + DSL:
Copy code
DBDefault.wrapRows (
            DBDefault.dependsOnTables.selectAll().
                groupBy(DBDefault.table.id).
                having { TableWithDBDefault.t1 eq TableWithDBDefault.t1.max() }
).toList()