viezel/napp.alloy.adapter.restsql — pull request #42 by ecnahc515 (2014-03-11 05:21:31+00:00)
Title: Results are empty if localOnly is anything but undefined on 'read' requests

The issue is from this line of code here:

https://github.com/viezel/napp.alloy.adapter.restsql/blob/master/sqlrest.js#L392

Basically, in my case I was calling fetch like this: `collection.fetch({ localOnly: false });` which then resulted in the above line of code to evaluate to false because false !== undefined, thus not saving the data into the sqlite db.

Because of that, and because results are retrieved from the sqlite db after a remote fetch, the results in the database were empty.