#Not giving Relationship data from collection

8 messages · Page 1 of 1 (latest)

fringe relic
#

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 ?

fringe relic
#

@ember zephyr can you help

last heath
ember zephyr
fringe relic
last heath
fringe relic
#

and for 2nd question: If I try to log record[0].foodCategoriesItem then it's working fine