(key, options)
| 330 | }); |
| 331 | } |
| 332 | getAllDataForKey(key, options) { |
| 333 | options = Object.assign({ syncInBackground: true }, options); |
| 334 | return this.getIdsForKey(key).then(ids => { |
| 335 | let querys = ids.map(id => ({ key, id, syncInBackground: options.syncInBackground })); |
| 336 | return this.getBatchData(querys); |
| 337 | }); |
| 338 | } |
| 339 | |
| 340 | } |
no test coverage detected