A query searches the persistent workspace associated with the current session. It does not search any pending changes that may be recorded on the session but not yet saved.