Skip to content

Commit

Permalink
Link to example of macro in a on-run hook
Browse files Browse the repository at this point in the history
  • Loading branch information
dbeatty10 authored Aug 23, 2024
1 parent 1be2036 commit 7ad4434
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on-run-end: sql-statement | [sql-statement]
A SQL statement (or list of SQL statements) to be run at the start or end of the following commands: <OnRunCommands />
`on-run-start` and `on-run-end` hooks can also call macros that return SQL statements
`on-run-start` and `on-run-end` hooks can also [call macros](#call-a-macro-to-grant-privileges) that return SQL statements.

## Usage notes
* The `on-run-end` hook has additional jinja variables available in the context — check out the [docs](/reference/dbt-jinja-functions/on-run-end-context).
Expand Down

0 comments on commit 7ad4434

Please sign in to comment.