Skip to content

Commit

Permalink
Merge branch 'current' into patch-8
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Mar 25, 2024
2 parents 8b27eef + 3c6267d commit b8646c0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions website/docs/reference/node-selection/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,9 @@ The `state` method is used to select nodes by comparing them against a previous
```bash
dbt test --select "state:new " # run all tests on new models + and new tests on old models
dbt run --select "state:modified" # run all models that have been modified
dbt ls --select "state:modified" # list all modified nodes (not just models)
dbt test --select "state:new" --state path/to/artifacts # run all tests on new models + and new tests on old models
dbt run --select "state:modified" --state path/to/artifacts # run all models that have been modified
dbt ls --select "state:modified" --state path/to/artifacts # list all modified nodes (not just models)
```
Expand Down Expand Up @@ -364,7 +364,7 @@ The `version` method selects [versioned models](/docs/collaborate/govern/model-v
```bash
dbt list --select "version:latest" # only 'latest' versions
dbt list --select "version:prerelease" # versions newer than the 'latest' version
dbt list --select version:old # versions older than the 'latest' version
dbt list --select "version:old" # versions older than the 'latest' version
dbt list --select "version:none" # models that are *not* versioned
```
Expand All @@ -380,8 +380,8 @@ Supported in v1.6 or newer.
The `semantic_model` method selects [semantic models](/docs/build/semantic-models).
```bash
dbt list --select semantic_model:* # list all semantic models
dbt list --select +semantic_model:orders # list your semantic model named "orders" and all upstream resources
dbt list --select "semantic_model:*" # list all semantic models
dbt list --select "+semantic_model:orders" # list your semantic model named "orders" and all upstream resources
```
</VersionBlock>

0 comments on commit b8646c0

Please sign in to comment.