primaryKey

open override val primaryKey: Table.PrimaryKey?

Returns the primary key of the table if present, null otherwise.

The primary key can be defined explicitly by overriding the property directly or by using one of the predefined table types like IntIdTable, LongIdTable, or UUIDIdTable.