...

/

Organizing the Models with Folders and Tags

Organizing the Models with Folders and Tags

Learn how to create folders and tags for the models.

Introduction to node selection

When we start to have many models, we might not want to run all of them every time. dbt allows us to run one model at a time. If our project looks like this:

Press + to interact
Example project folder structure
Example project folder structure

Then, we can run only a subset of models with the CLI using “node selection.”

Node selection is available for the following commands:

  • run

  • test

  • seed

  • snapshot

  • ls

  • compile

  • freshness

  • build

Selecting nodes

To apply our command to a subset of nodes, we can use the —-select flag. ...