Skip to content

Commit

Permalink
Update graph-operators.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Jan 8, 2025
1 parent 65feb93 commit 733116f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/docs/reference/node-selection/graph-operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ title: "Graph operators"
### The "plus" operator
The `+` operator expands your selection to include ancestors (upstream dependencies) or descendants (downstream dependencies) of a resource. This operator works for individual models, tags, or other resources.

- `+` operator placed after a model/resource — Includes the resource itself and all its descendants (downstream dependencies).
- `+` operator placed before a model/resource — Includes the resource itself and all its ancestors (upstream dependencies).
- `+` operator placed on both sides of a model/resource — Includes the resource itself, all its ancestors, and all its descendants.
- Placed after a model/resource — Includes the resource itself and all its descendants (downstream dependencies).
- Placed before a model/resource — Includes the resource itself and all its ancestors (upstream dependencies).
- Placed on both sides of a model/resource — Includes the resource itself, all its ancestors, and all its descendants.

```bash
dbt run --select "my_model+" # select my_model and all descendants
Expand Down

0 comments on commit 733116f

Please sign in to comment.