org.babyfish.jimmer.sql.kt.loader.KReferenceLoader.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jimmer-sql-kotlin Show documentation
Show all versions of jimmer-sql-kotlin Show documentation
A revolutionary ORM framework for both java and kotlin
package org.babyfish.jimmer.sql.kt.loader
import org.babyfish.jimmer.lang.NewChain
import org.babyfish.jimmer.sql.kt.fetcher.KFieldFilterDsl
import java.sql.Connection
interface KReferenceLoader {
@NewChain
fun forConnection(con: Connection): KReferenceLoader
@NewChain
fun forFilter(filter: KFieldFilterDsl.() -> Unit): KReferenceLoader
fun load(source: S, con: Connection? = null): T?
fun batchLoad(sources: Collection, con: Connection? = null): Map
}