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')

query.descending('_kmd.ect')

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.


Thanks that is helpful. What version of the Kinvey library were you using when you got these log statements? Can you also reply with the response to the request? It looks like it actually made the request to the backend and returned with a result.


Thanks,


Thomas

Hi Lawrence,


I just wanted to check to see if you were still having an issue? If you are can you please turn on debug mode for the JavaScript library and send the additional log statements.


Thanks.

Hello Lawrence,


This issue should be resolved with our latest library release.


Thanks,

Login or Signup to post a comment