Sql Sub Query
interface SqlSubQuery<P : Entity<PID>, PID : Comparable<PID>, E : Entity<ID>, ID : Comparable<ID>> : AbstractSqlQuery<E, ID>
Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun orderBy(expression: Expression<*>?, descending: Boolean = false)
Content copied to clipboard
Link copied to clipboard
abstract fun <R> select(prop: KProperty1<E, R?>): TypedSqlSubQuery<P, PID, E, ID, R>
Content copied to clipboard
abstract fun <R> select(selection: Selection<R>): TypedSqlSubQuery<P, PID, E, ID, R>
Content copied to clipboard
abstract fun <A, B> select(selection1: Selection<A>, selection2: Selection<B>): TypedSqlSubQuery<P, PID, E, ID, Pair<A, B>>
Content copied to clipboard
abstract fun <A, B, C> select(selection1: Selection<A>, selection2: Selection<B>, selection3: Selection<C>): TypedSqlSubQuery<P, PID, E, ID, Triple<A, B, C>>
Content copied to clipboard
abstract fun <T1, T2, T3, T4> select(selection1: Selection<T1>, selection2: Selection<T2>, selection3: Selection<T3>, selection4: Selection<T4>): TypedSqlSubQuery<P, PID, E, ID, Tuple4<T1, T2, T3, T4>>
Content copied to clipboard
abstract fun <T1, T2, T3, T4, T5> select(selection1: Selection<T1>, selection2: Selection<T2>, selection3: Selection<T3>, selection4: Selection<T4>, selection5: Selection<T5>): TypedSqlSubQuery<P, PID, E, ID, Tuple5<T1, T2, T3, T4, T5>>
Content copied to clipboard
abstract fun <T1, T2, T3, T4, T5, T6> select(selection1: Selection<T1>, selection2: Selection<T2>, selection3: Selection<T3>, selection4: Selection<T4>, selection5: Selection<T5>, selection6: Selection<T6>): TypedSqlSubQuery<P, PID, E, ID, Tuple6<T1, T2, T3, T4, T5, T6>>
Content copied to clipboard
abstract fun <T1, T2, T3, T4, T5, T6, T7> select(selection1: Selection<T1>, selection2: Selection<T2>, selection3: Selection<T3>, selection4: Selection<T4>, selection5: Selection<T5>, selection6: Selection<T6>, selection7: Selection<T7>): TypedSqlSubQuery<P, PID, E, ID, Tuple7<T1, T2, T3, T4, T5, T6, T7>>
Content copied to clipboard
abstract fun <T1, T2, T3, T4, T5, T6, T7, T8> select(selection1: Selection<T1>, selection2: Selection<T2>, selection3: Selection<T3>, selection4: Selection<T4>, selection5: Selection<T5>, selection6: Selection<T6>, selection7: Selection<T7>, selection8: Selection<T8>): TypedSqlSubQuery<P, PID, E, ID, Tuple8<T1, T2, T3, T4, T5, T6, T7, T8>>
Content copied to clipboard
abstract fun <T1, T2, T3, T4, T5, T6, T7, T8, T9> select(selection1: Selection<T1>, selection2: Selection<T2>, selection3: Selection<T3>, selection4: Selection<T4>, selection5: Selection<T5>, selection6: Selection<T6>, selection7: Selection<T7>, selection8: Selection<T8>, selection9: Selection<T9>): TypedSqlSubQuery<P, PID, E, ID, Tuple9<T1, T2, T3, T4, T5, T6, T7, T8, T9>>
Content copied to clipboard
Link copied to clipboard
abstract fun <X : Entity<XID>, XID : Comparable<XID>> untypedSubQuery(type: KClass<X>, block: SqlSubQuery<E, ID, X, XID>.() -> Unit): SqlSubQuery<E, ID, X, XID>
Content copied to clipboard
Link copied to clipboard