Table A has one to one relation with Table B. Table A stores the objects(relation) of Table B, we can easily get the details of Table B using the related object of Table B in Table A. Can we also get the Table A data from Table B using same relation?
Please see:
https://backendless.com/feature-28-loading-related-data-objects-the-semi-lazy-approach/
https://backendless.com/feature-59-recursive-object-references-in-persistence-objects/
Thanks Slava! This is really very helpful. Just to know one thing, as per this link https://backendless.com/feature-59-recursive-object-references-in-persistence-objects/, Can we get the information based on child of Person.children. Person.dad, Person.mom ? or these are just for references?
Yes, you can use that query.
This is a working example of such query:
http://support.backendless.com/public/attachments/e899e4efc2d642e2c77eb2e954a01f90.png</img>
You will get the collection of objects, and then you can operate with the object and with its relations, which you’ve set in query.
Thanks!