Primary Key
class PrimaryKey(val name: String?, val primaryKeyColumns: List<PrimaryKeyColumn>)
Content copied to clipboard
Wrapper for results of getPrimaryKeys. It has been refactored to provide of Column object rather than the flattened view provided by the getPrimaryKeys method.
Constructors
Properties
Link copied to clipboard
List of PrimaryKeyColumn objects. Each contains a Column and an sequenceNumber value. The Column is selected by filtering for the appropriate TABLE_CAT, TABLE_SCHEM, TABLE_NAME, and COLUMN_NAME as returned by java.sql.DatabaseMetaData.getPrimaryKeys, and the sequenceNumber value is from KEY_SEQ