webcss / angular-indexedDB

An angularjs serviceprovider to utilize indexedDB with angular
149 stars 99 forks source link

Inserting array of objects #16

Closed cipconsolacion closed 10 years ago

cipconsolacion commented 10 years ago

When inserting an array of objects, resolve the promise only after all the data are inserted

cipconsolacion commented 10 years ago

I also added a 'query' function that returns result of a query in an array. This is based on the 'getAll' function.

webcss commented 10 years ago

Hi, thanks for your PR wich points in the right direction, but we should use promise.notify while in loop and resolve at the end. I'll implement it that way.