Relationships
This is the official documentation of the @forestadmin/agent
Node.js agent.
A join is used to combine rows from two or more tables, based on a related column between them.
Declaration
In Forest Admin, relations are defined as fields and are traversable in only one direction.
Join Types
Four join types are available: ManyToOne
, ManyToMany
, OneToMany
, and OneToOne
.
Type | Where are the common keys? |
---|---|
ManyToOne |
|
OneToMany |
|
ManyToMany |
|
OneToOne |
|
Last updated