Commit c2734e65 by Krishnan Sanjay

Update README.md

parent 1d6ccca6
Showing with 5 additions and 0 deletions
...@@ -123,6 +123,11 @@ We can similarly iterate over all of the flushed data (which optionally takes a ...@@ -123,6 +123,11 @@ We can similarly iterate over all of the flushed data (which optionally takes a
for k,v in m.loadAll(): for k,v in m.loadAll():
print(k,v) print(k,v)
``` ```
It also takes in an optional parameter that includes the in memory keys as well:
```
for k,v in m.loadAll(subkey='myskey', inMemory=True):
print(k,v)
```
Since there are some keys in memory and some flushed to disk there are two commands to iterate over keys. Since there are some keys in memory and some flushed to disk there are two commands to iterate over keys.
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment