Refreshes every query filter selects that the caller can read, dependencies first. An ID
or name that selects nothing is reported as Unavailable; a selected query the caller may
not refresh is reported as NotPermitted.
Refreshes one saved query.
The query's ID; echoed, and nothing else, when the query is unavailable.
Re-establishes saved queries' facts from their SQL and the database server, on demand: the same extraction a save of a changed query runs, without changing the SQL. Every entry point (the
Query.RefreshExtractionremote operation,mj query refresh, CodeGen's re-bind pass) goes through this service, so the same authorization applies to all of them:MJ: Queriesand Create, Update and Delete on its derived child entities, for a dry run too;NotPermitted, with no reason.Each query is refreshed in its own transaction on the caller's provider, and the child rows are written as the caller, so each write's own permission check also applies. A bulk run refreshes the queries a composition depends on before the queries that compose them.