def reload(self):
"""read collection to dictionary"""
with self._context:
rows = tuple(self._collection.find({}))
self._store = {
row[PRIMARY_KEY]: datastruct.ImmutableDict(row) for row in rows
}