Start a new topic

DataStore Fetch relations with Query Support, Kinvey 1.1.8 upgrade

Hi, Ive been using Kinvey 1.1.8 (angularJS) and this piece of code has been working just fine:

var query = new $kinvey.Query();

query.equalTo('item_category', 'Books')


var promise = $kinvey.DataStore.find('allItems', query, {relations : {more_info : 'BooksDetails'}});

return promise;

But it no longer works from Kinvey 1.1.9 upwards... it now returns error: collection name undefined.

has anyone experienced this? any ideas where I can start troubleshooting?

Thanks for the feedback.

Hi, I went back to version 1.1.8 and everything works as expected. As soon I replace the Kinvey script with anything above 1.1.8 my query with relations no longer works so something must be different.


I don't see any changes to query in the library.   This should be working.   Can you ensure that your code works in 1.1.8 and that the query works properly for you?


Login or Signup to post a comment