toggle menu
exposed
0.56.0
jvm
switch theme
search in API
exposed-core
/
org.jetbrains.exposed.sql.vendors
/
DatabaseDialect
/
addPrimaryKey
add
Primary
Key
abstract
fun
addPrimaryKey
(
table
:
Table
,
pkName
:
String
?
,
vararg
pkColumns
:
Column
<
*
>
)
:
String
Returns the SQL statement that adds a primary key specified
pkName
to an existing
table
.