Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Catalog Statements

The catalog is a SQLite database that caches project metadata for fast querying and cross-reference navigation. It is stored in .mxcli/catalog.db next to the MPR file.

A basic REFRESH CATALOG populates tables for modules, entities, attributes, associations, microflows, nanoflows, pages, snippets, enumerations, and workflows. A REFRESH CATALOG FULL additionally populates cross-references (REFS), widgets, strings, source text, and permissions – enabling callers/callees analysis, impact analysis, and full-text search.

StatementDescription
REFRESH CATALOGRebuild the catalog from the current project state
SELECT FROM CATALOGQuery catalog tables with SQL syntax
SHOW CATALOG TABLESList available catalog tables and their columns
SHOW CALLERS / CALLEESFind what calls an element or what it calls
SHOW REFERENCES / IMPACT / CONTEXTCross-reference navigation and impact analysis