org.babyfish.jimmer.sql.kt.KSubQueries.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.KConfigurableSubQuery
import org.babyfish.jimmer.sql.kt.ast.query.KMutableSubQuery
import kotlin.reflect.KClass
import kotlin.reflect.KProperty1
interface KSubQueries {
fun > forEntity(
entityType: KClass,
block: KMutableSubQuery.() -> SQ
): SQ
fun > forReference(
prop: KProperty1,
block: KMutableSubQuery>.() -> SQ
): SQ
fun > forList(
prop: KProperty1>,
block: KMutableSubQuery>.() -> SQ
): SQ
}