Skip to content

Commit

Permalink
Update tags.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Jan 8, 2025
1 parent 195a143 commit 65feb93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/docs/reference/resource-configs/tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ These tags can be used as part of the [resource selection syntax](/reference/nod

#### Using tags with the `+` operator
You can use the [`+` operator](/reference/node-selection/graph-operators#the-plus-operator) to include upstream or downstream dependencies in your `tag` selection:
- `dbt run --select tag:my_tag+` — Run models tagged with `my_tag` and all their downstream dependencies (children).
- `dbt run --select +tag:my_tag` — Run models tagged with `my_tag` and all their upstream dependencies (parents).
- `dbt run --select +model_name+` — Run a model, its upstream dependencies (parents), and its downstream dependencies (children).
- `dbt run --select tag:my_tag+` — Run models tagged with `my_tag` and all their downstream dependencies.
- `dbt run --select +tag:my_tag` — Run models tagged with `my_tag` and all their upstream dependencies.
- `dbt run --select +model_name+` — Run a model, its upstream dependencies, and its downstream dependencies.
- `dbt run --select tag:my_tag+ --exclude tag:exclude_tag` — Run model tagged with `my_tag` and their downstream dependencies and exclude models tagged with `exclude_tag`, regardless of their dependencies.

## Examples
Expand Down

0 comments on commit 65feb93

Please sign in to comment.