Write validated queries to the database atomically.
Creates Query entities. QueryFields and QueryParameters are automatically extracted by MJQueryEntity.server.ts using AI analysis of the SQL template. That extraction happens asynchronously during the Save() operation.
Wraps the whole batch in a single DB transaction — any save failure rolls back every query previously queued in this call, so callers see either all queries persisted or none.
Array of validated queries to write
User context for entity operations
Write result with success status and per-query results
QueryDatabaseWriter class Writes validated queries directly to the database