diff --git a/hw5/README.md b/hw5/README.md index 81ac6ff..ce3dfda 100644 --- a/hw5/README.md +++ b/hw5/README.md @@ -123,6 +123,11 @@ We can similarly iterate over all of the flushed data (which optionally takes a for k,v in m.loadAll(): 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. ```