Concept Flow - Building a DAG of models
Define base models
Create intermediate models
Reference base models in SQL
Create final models
Reference intermediate models
dbt builds DAG
Run models in dependency order
You start by defining simple base models, then build intermediate models that use those bases, and finally create final models that depend on intermediates. dbt reads these references to build a DAG and runs models in the right order.