Can I specify in Exposed that the query `Entity.al...
# exposed
b
Can I specify in Exposed that the query
Entity.all()
be sorted by default on the primary key? Now for each request, we have to write
Entity.all().sortedBy{ it.id }
t
If id is auto-increment field then it will be autosorted by it (at least on Mysql). BTW you can use:
Copy code
override fun all()  = wrapRows(table.selectAll().orderBy(table.id).notForUpdate())