Documentation
Preparing search index...
@saltcorn/common-code
relations/relation
Relation
Class Relation
Relation class This is a more common interface for the relation string
Index
Constructors
constructor
Properties
path
relation
String
source
Tbl
Name
target
Tbl
Name
view
Display
Type
fixed
User
Relation
Accessors
type
Methods
is
Fixed
Relation
Constructors
constructor
new
Relation
(
relationString
:
string
,
targetTblName
:
string
,
viewDisplayType
:
ViewDisplayType
,
)
:
Relation
Parameters
relationString
:
string
targetTblName
:
string
viewDisplayType
:
ViewDisplayType
Returns
Relation
Properties
path
path
:
any
[]
relation
String
relationString
:
string
source
Tbl
Name
sourceTblName
:
string
target
Tbl
Name
targetTblName
:
string
view
Display
Type
viewDisplayType
:
any
Static
fixed
User
Relation
fixedUserRelation
:
string
= ".users._logged_in_ref_without_rel_"
Accessors
type
get
type
()
:
|
null
|
RELATION_PATH
|
OWN
|
INDEPENDENT
|
CHILD_LIST
|
ONE_TO_ONE_SHOW
|
PARENT_SHOW
get the relation type
Returns
|
null
|
RELATION_PATH
|
OWN
|
INDEPENDENT
|
CHILD_LIST
|
ONE_TO_ONE_SHOW
|
PARENT_SHOW
Methods
is
Fixed
Relation
isFixedRelation
()
:
boolean
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
path
relation
String
source
Tbl
Name
target
Tbl
Name
view
Display
Type
fixed
User
Relation
Accessors
type
Methods
is
Fixed
Relation
Documentation
Loading...
Relation class This is a more common interface for the relation string