get

abstract operator fun <T> get(column: KQLiteColumn<T>): KQLiteColumn<T>

Retrieves a column from the original table and associates it with this alias.

This operator allows you to reference a column from the original, un-aliased table as if it belongs to the aliased table. It's a key mechanism for building queries with aliased tables, especially in joins.

Example

    val m = Employees AS "m" // Create table alias
val mCol = m[Employees.firstName] // Access real columns using alias

Return

A new KQLiteColumn instance that is qualified with the table alias.

Author

MOHAMMAD AZIM ANSARI

Parameters

column

The original KQLiteColumn from the un-aliased table.

Type Parameters

T

The data type of the column.

See also

Throws

if the specified column does not belong to the original table.