Are Queries Permitted/Valid Inside a Write Transaction?

@jay Thanks. When does the Results collection reflect the new changes: IMMEDIATELY or when this write transaction is closed and committed?

Note: adding/removing strings to the “flags” set is a change that must occur in the write transaction, so it can’t be narrowed down as you propose. I simply omitted that part for brevity.