Fundamental command

dbt compilegenerates executable SQL from source model, test, and analysis files. Convert the jinjer reference to the resource name
dbt runexecutes compiled sql model files against the current target database
dbt source freshness
dbt testdbt will tell you if each singular or generic test in your project passes or fails
dbt docs generategenerating your project’s documentation website
dbt buildAll-in-one:
  • run models
  • test tests
  • snapshot snapshots
  • seed seeds | | dbt run-operation {macro} —args ‘{args}’ | invoke a macro |