IntSubQueryEntityClass

abstract class IntSubQueryEntityClass<out E : IntEntity>(    table: IdTable<Int>,     entityType: Class<E>? = null,     entityCtor: (EntityID<Int>) -> E? = null) : EntityClass<Int, E>

Custom sub delegate for relations sub query with condition

Constructors

Link copied to clipboard
fun <out E : IntEntity> IntSubQueryEntityClass(    table: IdTable<Int>,     entityType: Class<E>? = null,     entityCtor: (EntityID<Int>) -> E? = null)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class IsHas(val column: Column<EntityID<Int>>)

Delegate check count != 0

Link copied to clipboard
class SelectCount(val column: Column<EntityID<Int>>)

Delegate get count sub select

Functions

Link copied to clipboard
fun isHas(prop: KProperty<*>, op: SqlExpressionBuilder.() -> Op<Boolean>): IntSubQueryEntityClass<E>
Link copied to clipboard
fun selectCount(prop: KProperty<*>, op: SqlExpressionBuilder.() -> Op<Boolean>): IntSubQueryEntityClass<E>

Properties

Link copied to clipboard
var isHasCondition: HashMap<KProperty<*>, Op<Boolean>>
Link copied to clipboard
var selectCountCondition: HashMap<KProperty<*>, Op<Boolean>>