Skip to content

About Object Relations

When building an app, we often deal with different kinds of data. Sometimes, these data types relate to each other, and that’s where the “Object Relations” feature in Codeless ONE helps.
Think of Object Relations as links between different groups of data, called objects. Instead of repeating the same data everywhere, you can just connect objects. This way, they can share data, making your app smarter and cleaner.
To use this feature, you need at least two objects. Let’s look at some simple examples:
Projects & Tasks:
Imagine an app that handles projects and tasks. Instead of repeating project details in every task, you can just link the ‘Task’ to its ‘Project’. So, if you look at a task, you can quickly see which project it belongs to.
Team Members & Projects:
Add another object called ‘Team Members’. Now, by using object relations, you can easily see which team member is working on which project, and vice versa.
Documents & Projects:
Let’s say you also want to keep track of documents for each project. Create a ‘Documents’ object and link each document to its project. This way, you can pull up all documents for a project in one go.
By connecting objects like this, you can quickly get a big picture of your projects – like who’s working on them, what tasks are pending, and where the related documents are. It makes managing your app’s data much easier!