loopback-datasource-juggler/lib/kvao
Miroslav Bajtoš 24a9a96a26 kvao: add iterateKeys() and keys()
Add a core implementation of KVAO.iterateKeys() which returns an
AsyncIterator, inspired by
 - https://github.com/tc39/proposal-async-iteration
 - https://www.npmjs.com/package/async-iterators

This way we can safely iterate even large sets of data.

Also add KVAO.keys(), a sugar API converting the result of iterateKeys()
into a single array.
2016-08-18 10:30:53 +02:00
..
expire.js Implement KeyValue API and memory connector 2016-08-08 14:48:04 +02:00
get.js Implement KeyValue API and memory connector 2016-08-08 14:48:04 +02:00
index.js kvao: add iterateKeys() and keys() 2016-08-18 10:30:53 +02:00
iterate-keys.js kvao: add iterateKeys() and keys() 2016-08-18 10:30:53 +02:00
keys.js kvao: add iterateKeys() and keys() 2016-08-18 10:30:53 +02:00
set.js Implement KeyValue API and memory connector 2016-08-08 14:48:04 +02:00
ttl.js Add TTL for KeyValue related features 2016-08-12 14:49:01 -07:00