Skip to main content
Every dataset query moves through up to three stages. This flow lets you iterate quickly and review AI-proposed changes before they take effect.

Draft

The draft query is whatever is currently in the SQL editor. It’s your working copy. Changes to the draft are saved locally and don’t affect the published dataset or any charts. You can preview the draft at any time by pressing Cmd+Enter.

Suggested query

When the AI modifies your query — whether you asked it to fix an error, optimize performance, or add a column — it writes the result as a suggested query rather than overwriting your draft directly. The editor shows a diff view highlighting what changed. You can:
  • Accept the suggestion to apply it as your new draft.
  • Reject it to keep your current draft unchanged.
This gives you full control over AI-proposed changes. See Accepting suggestions for more.

Published query

When you save (Cmd+S), the current draft becomes the published query. Mora runs it in the background and materializes the results. Any charts using this dataset will reflect the new data.

Flow summary