Create relations between datasets

Jexia allows you to relate two or more datasets and filesets and create one-to-many or many-to-many relationships between them. Relations are established under the hood, so you should not worry about specifying fields for relation. While fetching the data you can get only parent record or parent + chield records. For example : Post <- Comments <- User 

Create a relation

In order to create a relation between a fileset and a dataset, head over to the "Relations" tab in the dashboard:

Drag and Drop

Drag and drop a line from the dataset to the fileset. Next, a screen will pop up asking you to choose the cardinalities. 

Choose the relation type

Choose the type of relation you want to create: one-to-many or many-to-many.