Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Working with Results

FirstPicked — get the first match

Returns the first chunk matching the selector. Returns an error if nothing is found.

# Returns the first matching Chunk (with .id, .code, .note, .extra)
chunk = memory.first_picked(view, selector)
print(chunk.id, chunk.code, chunk.note)

Iterator — iterate all matches

Not available as iterator in Python. Use mem_get() for batch reads.

mem_get — high-level batch read

results = storage.mem_get(selector)
for hv in results:
    print(hv)
Last change: , commit: 63ad966