Support Topics Documentation Slack YouTube Blog

Get child table count


(Rajasekhar Puligadda) #1

How to get child table count using parent table as 1:N relation?


(Sergey Chupov) #2

Hello,

Try using a count function: https://backendless.com/docs/rest/data_count.html
To get how many child records does a parent have, you’ll need to add count(relation) to the properties field of a query.