Start a new topic

Query on KinveyReference

Hi,


I have two collections CollectionA and CollectionB.


CollectionA has one attribute which is a KinveyRef to CollectionB. I have the required entities of CollectionB. How do I fetch the corresponding entities to CollectionB from CollectionA?


Thanks,
Hirak

1 Comment

Hirak,


Have you checked out the "relational data" part of the Android guide yet?  http://devcenter.kinvey.com/android/guides/datastore#RelationalData  Goes into how to setup your data and retrieve it when you need references.


That being said, we generally discourage the use of references and encourage the use of normalized data since our backend runs Mongo, which doesn't have the same limitations or constraints on relational data that MySql or other traditional RDB's have.


Thanks,

Login or Signup to post a comment