This code is part of a tutorial on how to use LokiJS for local storage in Ionic apps.
Read the tutorial here: How To Use LokiJS For Local Storage In Your Ionic App
For more tutorials on Ionic, check out the blog Gone Hybrid.
changes api
birthdays.getChanges() [Object] birthdays.flushChanges() undefined birthdays.getChanges()
a=birthdays.getChanges() [Object, Object] a.forEach(function(o,i){console.log(o)})