Skip to main content

Relationships

Define relationships between Objects


The relationship field in Engine Awesome is a powerful tool that enables users to link different objects, creating a one-to-many connection. This is crucial for organizing complex data structures, making it easy to reference and manage related information across your applications.

Plan your structure before you build. Sketching out which object types you need and how they connect - before adding relationship fields - saves significant rework later. It's much easier to define relationships correctly upfront than to restructure them after data has been entered.

Key Features

  • Efficient Data Management : Instead of duplicating data across different records, you reference the related object directly. This minimizes errors and keeps data consistent.
  • Dynamic Linking : When the linked object updates, the relationship automatically reflects these changes, ensuring your records are always up to date.

How to Use Relationships in Engine Awesome

To create a relationship between objects, select the relationship field and add it to the child object type.

Once added, Engine Awesome handles the linking between the related objects automatically. For example, if you select "Has One: Project" when building a task object, the system will automatically link each task to a project. No further configuration is needed-Engine Awesome ensures the connection is maintained across your application.

Example Use Cases:

  • Projects & Tasks : Link tasks to projects to visualize all tasks under a project.
  • Team Members & Teams : Assign team members to a single team, so when viewing a team, you can immediately see its members.

The relationships field is integral for building efficient and scalable systems where objects and their data are interconnected in meaningful ways.