Skip to content

Commit

Permalink
Merge branch 'current' into dbeatty/graph_selected_resources
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Sep 18, 2023
2 parents ba13ed5 + 1e26869 commit 52fba45
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
15 changes: 12 additions & 3 deletions website/docs/reference/node-selection/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,19 +74,28 @@ selectors unambiguous.

<VersionBlock firstVersion="1.2">

### The "file" or "fqn" method
The `file` or `fqn` method can be used to select a model by its filename, including the file extension (`.sql`).
### The "file" method
The `file` method can be used to select a model by its filename, including the file extension (`.sql`).

```bash
# These are equivalent
dbt run --select file:some_model.sql
dbt run --select some_model.sql
dbt run --select some_model
dbt run --select fqn:some_model # fqn is an abbreviation for "fully qualified name"
```

</VersionBlock>

### The "fqn" method

The `fqn` method is used to select nodes based off their "fully qualified names" (FQN) within the dbt graph. The default output of [`dbt list`](/reference/commands/list) is a listing of FQN.

```
dbt run --select fqn:some_model
dbt run --select fqn:your_project.some_model
dbt run --select fqn:some_package.some_other_model
```

### The "package" method

The `package` method is used to select models defined within the root project
Expand Down
5 changes: 5 additions & 0 deletions website/docs/reference/resource-configs/postgres-configs.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@ id: "postgres-configs"
In dbt-postgres, the following incremental materialization strategies are supported:

<VersionBlock lastVersion="1.5">

- `append` (default)
- `delete+insert`

</VersionBlock>

<VersionBlock firstVersion="1.6">

- `append` (default)
- `merge`
- `delete+insert`

</VersionBlock>


Expand Down

0 comments on commit 52fba45

Please sign in to comment.