Join Statement
Represents a statement for defining the JOIN condition in a KQLite query. This is typically used after specifying the tables to join (INNER JOIN, LEFT JOIN, etc.).
Example
Artists
.select(Artists.artistId, Artists.artistName, Albums.title)
.join(Albums, JoinType.LEFT_JOIN)
.using(Artists.artistId)
.execute()Content copied to clipboard
Type Parameters
T
The primary table type for the select statement.
Inheritors
Functions
Link copied to clipboard
Same as calling on(left, right, JoinOp.EQ, null, null)
abstract fun <C> on(left: KQLiteColumn<C>, right: KQLiteColumn<C>, joinOp: JoinOp = JoinOp.EQ, and: Clause.() -> Unit? = null, or: Clause.() -> Unit? = null): SelectStatement<T>
Specifies the ON condition for a JOIN clause.
Link copied to clipboard
Specifies a USING clause for a JOIN operation.