Knowledgebase: QB Assistance
How to obtain all "Parents" associated with "Childs" provided that every "Child" instance has a given "myKey"?
Posted by on 06 March 2014 01:39 PM

How to obtain all "Parents" associated with  "Childs" provided that every "Child" instance has a given "myKey"?

 

In order to give all Children for particular Parent use the following:


https://api.quickblox.com/data/Child?_parent_id=<your_Parent_class_instance_id>

 

To give all 'Parents' ids associated with  "Childs" where every "Child" instance has a given "myKey" use:
https://api.quickblox.com/data/Child?myKey=<some_value>

 

As a result each Child has _parent_id field.

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments: