Also, are there any standards around how to organise DAO classes? I’ve been using the DSL, but to make it usable I’ve had to write my own helper methods around; eg:
Copy code
abstract fun map(rs: ResultRow): T
fun get(query: Op<Boolean>): T? = transaction { select { query }.map { map(it) }.firstOrNull() }