Relational Objects field base condition

We need to select data from relational objects, base on their field.

For Example, we have Products objects and their have one relational field like category and category have one field like code, Now I want to select all products which code is β€˜101’ in to category.

Is this code unique?
You can get categoryIDs based on code and then based on category ids you can get all the products.
I don’t think any out of the box function is available for this.

1 Like

Right @neha, we are following this approach only.