Libraries v5.0.0
    Preparing search index...

    Interface PrimaryKeyColumns

    Result of getPrimaryKeyColumns.

    propertyKeys are the schema property names (the keys you'd use in .where(t => t.id, ...) style accessors); columnNames are the SQL column names after applying any hasColumnName() overrides. Order is preserved: composite-PK ordering matches the user's hasPrimaryKey() declaration; single-PK arrays have length 1.

    interface PrimaryKeyColumns {
        columnNames: readonly string[];
        propertyKeys: readonly string[];
    }
    Index
    columnNames: readonly string[]

    Corresponding mapped SQL column names in the same order as propertyKeys.

    propertyKeys: readonly string[]

    Schema property names in primary-key declaration order; this order defines composite-key tuples.