Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,15 +236,15 @@ This bash script when executed from your local IDE will create model files in yo
### Arguments:

- `source_name` (required): The source you wish to generate base model SQL for.
- `tables` (required): A list of all tables you want to generate the base models for.
- `table_name` (required): A single table name for which you want to generate the base model.

### Usage:

1. Create a source for the table you wish to create a base model on top of.
2. Copy the macro into a statement tab into your local IDE, and run your code

```bash
source dbt_packages/codegen/bash_scripts/base_model_creation.sh "source_name" ["this-table","that-table"]
source dbt_packages/codegen/bash_scripts/base_model_creation.sh "source_name" "table_name"
```

## generate_model_yaml ([source](macros/generate_model_yaml.sql))
Expand Down
Loading