PrimaryKey

data class PrimaryKey<Data>(val columnName: String, val producer: (Data) -> String)(source)

Represents the primary key of the Data type.

Parameters

columnName

the column name of the primary key

producer

a function that produces the primary key value from the Data object

Constructors

Link copied to clipboard
constructor(columnName: String, producer: (Data) -> String)

Properties

Link copied to clipboard
Link copied to clipboard
val producer: (Data) -> String