Directus / @directus/sdk / schema / DirectusRelation
Type Alias: DirectusRelation<Schema> ​
DirectusRelation<
Schema
>:object
Type Parameters ​
• Schema = any
Type declaration ​
collection ​
collection:
string
field ​
field:
string
meta ​
meta:
MergeCoreCollection
<Schema
,"directus_relations"
,object
>
related_collection ​
related_collection:
string
schema ​
schema:
object
schema.column ​
schema.column:
string
schema.constraint_name ​
schema.constraint_name:
string
schema.foreign_key_column ​
schema.foreign_key_column:
string
schema.foreign_key_schema ​
schema.foreign_key_schema:
string
schema.foreign_key_table ​
schema.foreign_key_table:
string
schema.on_delete ​
schema.on_delete:
string
schema.on_update ​
schema.on_update:
string
schema.table ​
schema.table:
string