diff --git a/README.md b/README.md index 481b07f..50056a8 100644 --- a/README.md +++ b/README.md @@ -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): @@ -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 \ No newline at end of file +4. Replace the contents of the model's current SQL file with the compiled or logged code