Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.sqlbuild.com/llms.txt

Use this file to discover all available pages before exploring further.

sqb compile

Compiles all discovered models, seeds, audits, and tests. Resolves references, expands macros, validates SQL with SQLGlot, and writes compiled artifacts to target/.

Usage

sqb --project-dir <path> compile [flags]

Flags

FlagDescription
--no-sql-validationSkip compile-time SQL syntax validation
--defer-toResolve unselected model references against another environment
--jsonOutput compiled artifacts as JSON