kotliquery.action.ListResultQueryAction.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotliquery Show documentation
Show all versions of kotliquery Show documentation
A handy Database access library in Kotlin
The newest version!
package kotliquery.action
import kotliquery.Query
import kotliquery.Row
import kotliquery.Session
data class ListResultQueryAction(
val query: Query,
val extractor: (Row) -> A?
) : QueryAction> {
override fun runWithSession(session: Session): List {
return session.list(query, extractor)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy