Documentation
Preparing search index...
@saltcorn/common-code
relations/relation_helpers
parseLegacyRelation
Function parseLegacyRelation
parseLegacyRelation
(
type
:
any
,
relation
:
string
,
parentTbl
:
string
,
)
:
|
never
[]
|
{
path
:
{
inboundKey
:
string
;
table
:
string
}
[]
;
type
:
RelationType
}
|
{
path
:
{
table
:
string
}
[]
;
type
:
RelationType
}
|
{
path
:
{
fkey
:
string
}
[]
;
type
:
RelationType
}
Parameters
type
:
any
relation
:
string
parentTbl
:
string
Returns
|
never
[]
|
{
path
:
{
inboundKey
:
string
;
table
:
string
}
[]
;
type
:
RelationType
}
|
{
path
:
{
table
:
string
}
[]
;
type
:
RelationType
}
|
{
path
:
{
fkey
:
string
}
[]
;
type
:
RelationType
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...