So , I've created two collections in database named as foodCategories and foodCategoriesItems.
in foodCategories: I've for attributes: title , description , icon and relationship attribute with food CategoriesItem.
In foodCategoriesItems: I've attribute like: icon , name , price
When I trying to list foodCategories collection data then in relationship section instead of getting data I'm getting object even though foodCategory have the realtions and have the value of it.
In first image see: foodCategoriesItem realtionship have value
In 2nd image: I'm getting object instead of data.
So , how can I get data ?