All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.babyfish.jimmer.sql.kt.KQueries.kt Maven / Gradle / Ivy

There is a newer version: 0.9.35
Show newest version
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