getTablePrimaryKey

View Source

Summary

Returns a table's primary key columns.

Signature

function getTablePrimaryKey<table extends AnyTable>(
  table: table,
): TablePrimaryKey<table>;

Params

table

Returns

Primary key columns.