execute

fun execute(query: Query, snapshot: Snapshot? = null): QueryCursor

Runs query and returns its rows.

Without a snapshot the cursor takes one and closes it with itself, so a query is consistent whether or not the caller asked for that — the pattern DocumentStore.scan already sets.