Skip to content

keyTypes

keyTypes(model, resolve?, seen?): KeyType[]

Defined in: packages/schema/src/keys.ts:67

Key part types of a resource’s primary key. A relation part takes the key types of the target resource (a composite target contributes one part per key column), so resolve is required whenever a relation is part of the key.

ResourceModel

(resource) => ResourceModel | undefined

string[] = []

KeyType[]