loopback-datasource-juggler/lib/kvao
Miroslav Bajtoš 01ce7df60f 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 09:59:56 +02:00
..
expire.js Implement KeyValue API and memory connector 2016-08-08 10:15:34 +02:00
get.js Implement KeyValue API and memory connector 2016-08-08 10:15:34 +02:00
index.js kvao: add iterateKeys() and keys() 2016-08-18 09:59:56 +02:00
iterate-keys.js kvao: add iterateKeys() and keys() 2016-08-18 09:59:56 +02:00
keys.js kvao: add iterateKeys() and keys() 2016-08-18 09:59:56 +02:00
set.js Implement KeyValue API and memory connector 2016-08-08 10:15:34 +02:00
ttl.js Add TTL for KeyValue related features 2016-08-11 17:12:36 -07:00