Class: ForeignKeyReference¶
The target side of a foreign-key constraint.
classDiagram
class ForeignKeyReference
click ForeignKeyReference href "../ForeignKeyReference/"
ForeignKeyReference : fields
ForeignKeyReference : resource
Slots¶
Name |
Cardinality and Range |
Description |
Inheritance |
|---|---|---|---|
0..1 |
Name of the resource being referenced |
direct |
|
1..* |
Field name(s) in the target resource that the key references |
direct |
Usages¶
used by |
used in |
type |
used |
|---|---|---|---|
range |
Identifier and Mapping Information¶
Schema Source¶
from schema: https://specs.frictionlessdata.io/table-schema
Mappings¶
Mapping Type |
Mapped Value |
|---|---|
self |
fts:ForeignKeyReference |
native |
fts:ForeignKeyReference |
LinkML Source¶
Direct¶
```yaml
name: ForeignKeyReference
description: The target side of a foreign-key constraint.
from_schema: https://specs.frictionlessdata.io/table-schema
attributes:
resource:
name: resource
description: Name of the resource being referenced. Empty string refers to the
current resource (self-reference).
from_schema: https://specs.frictionlessdata.io/table-schema
rank: 1000
domain_of:
- ForeignKeyReference
range: string
fields:
name: fields
description: Field name(s) in the target resource that the key references.
from_schema: https://specs.frictionlessdata.io/table-schema
domain_of:
- TableSchema
- ForeignKey
- ForeignKeyReference
range: string
required: true
multivalued: true
</details>
### Induced
<details>
```yaml
name: ForeignKeyReference
description: The target side of a foreign-key constraint.
from_schema: https://specs.frictionlessdata.io/table-schema
attributes:
resource:
name: resource
description: Name of the resource being referenced. Empty string refers to the
current resource (self-reference).
from_schema: https://specs.frictionlessdata.io/table-schema
rank: 1000
alias: resource
owner: ForeignKeyReference
domain_of:
- ForeignKeyReference
range: string
fields:
name: fields
description: Field name(s) in the target resource that the key references.
from_schema: https://specs.frictionlessdata.io/table-schema
alias: fields
owner: ForeignKeyReference
domain_of:
- TableSchema
- ForeignKey
- ForeignKeyReference
range: string
required: true
multivalued: true