Skip to content

Commit

Permalink
Merge pull request #129 from dbt-labs/cohms/generate_source_documenta…
Browse files Browse the repository at this point in the history
…tion_update

Update README.md
  • Loading branch information
cohms authored Jul 25, 2023
2 parents 5613a30 + 0369796 commit 848c4b1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ the schema to your source definition

```
{{ codegen.generate_source('raw_jaffle_shop') }}
```
or for multiple arguments
```
{{ codegen.generate_source(schema_name= 'jaffle_shop', database_name= 'raw') }}
```
Alternatively, call the macro as an [operation](https://docs.getdbt.com/docs/using-operations):
Expand Down Expand Up @@ -333,4 +339,4 @@ final as (
select * from final
```

4. Replace the contents of the model's current SQL file with the compiled or logged code
4. Replace the contents of the model's current SQL file with the compiled or logged code

0 comments on commit 848c4b1

Please sign in to comment.