`.searchQuery(Op.build { table.itemId.distinctOn()...
# exposed
d
.searchQuery(Op.build { table.itemId.distinctOn() })
like this? edit: ok, that doesn't even compile; looks like i could use it with
table.slice(table.itemId.distinctOn())
? is there a way to use something like this with DAOs?