org.babyfish.jimmer.sql.kt.KQueries.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
import org.babyfish.jimmer.sql.association.Association
import org.babyfish.jimmer.sql.kt.ast.query.KConfigurableRootQuery
import org.babyfish.jimmer.sql.kt.ast.query.KMutableRootQuery
import kotlin.reflect.KClass
import kotlin.reflect.KProperty1
interface KQueries {
fun forEntity(
entityType: KClass,
block: KMutableRootQuery.() -> KConfigurableRootQuery
): KConfigurableRootQuery
fun forReference(
prop: KProperty1,
block: KMutableRootQuery>.() -> KConfigurableRootQuery, R>
): KConfigurableRootQuery, R>
fun forList(
prop: KProperty1>,
block: KMutableRootQuery>.() -> KConfigurableRootQuery, R>
): KConfigurableRootQuery, R>
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy