Directus / @directus/extensions-sdk / getRelationType
Function: getRelationType() ​
getRelationType(
getRelationOptions
):null
|"m2o"
|"o2m"
|"m2a"
Defined in: packages/utils/dist/shared/index.d.ts:100
Parameters ​
getRelationOptions ​
collection ​
null
| string
field ​
string
relation ​
Returns ​
null
| "m2o"
| "o2m"
| "m2a"