Amplify JS API Documentation
Library Documentation
NPM
GitHub
Preparing search index...
aws-amplify
datastore
RelationType
Interface RelationType
interface
RelationType
{
associatedWith
?:
string
|
string
[]
;
fieldName
:
string
;
modelName
:
string
;
relationType
:
"HAS_ONE"
|
"HAS_MANY"
|
"BELONGS_TO"
;
targetName
?:
string
;
targetNames
?:
string
[]
;
}
Index
Properties
associated
With?
field
Name
model
Name
relation
Type
target
Name?
target
Names?
Properties
Optional
associated
With
associatedWith
?:
string
|
string
[]
field
Name
fieldName
:
string
model
Name
modelName
:
string
relation
Type
relationType
:
"HAS_ONE"
|
"HAS_MANY"
|
"BELONGS_TO"
Optional
target
Name
targetName
?:
string
Optional
target
Names
targetNames
?:
string
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
associated
With
field
Name
model
Name
relation
Type
target
Name
target
Names
Library Documentation
NPM
GitHub
Amplify JS API Documentation
Loading...