MCPcopy
hub / github.com/sunnylqm/react-native-storage / getAllDataForKey

Method getAllDataForKey

storage.js:332–338  ·  view source on GitHub ↗
(key, options)

Source from the content-addressed store, hash-verified

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}

Callers 1

Calls 2

getIdsForKeyMethod · 0.95
getBatchDataMethod · 0.95

Tested by

no test coverage detected