Commit 9bc77187 by Krishnan Sanjay

Update README.md

parent 14915a38
Showing with 7 additions and 2 deletions
......@@ -123,9 +123,14 @@ We can similarly iterate over all of the flushed data (which optionally takes a
for k,v in m.loadAll():
print(k,v)
```
There is also a way to iterate over all of the flushed keys (will strip out subkeys):
Since there are some keys in memory and some flushed to disk there are two commands to iterate over keys.
```
m.keys() #returns all keys that are in memory
```
There is also a way to iterate over all of the flushed keys (will strip out any subkeys):
```
m.flushed()
m.flushed() #return keys that are flushed.
```
## Count Per Group
......
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