# entityId

fun <T : Any> Column<T>.entityId(): Column<EntityID<T>>

Converts the @receiver column to an EntityID column.

fun <ID : Any> entityId(name: String, originalColumn: Column<ID>): Column<EntityID<ID>>

Creates an EntityID column, with the specified name, for storing the same objects as the specified originalColumn.

fun <ID : Any> entityId(name: String, table: IdTable<ID>): Column<EntityID<ID>>

Creates an EntityID column, with the specified name, for storing the identifier of the specified table.