dbt Jinja Functions
In addition to the standard Jinja library (docs), we've added additional functions and variables to the Jinja context that are useful when working with a dbt project:
- adapter
- as_bool
- as_native
- as_number
- as_text
- builtins
- config
- dbt_version
- dbt-project-yml-context
- debug-method
- doc
- env_var
- exceptions
- execute
- flags
- fromjson
- fromyaml
- graph
- invocation_id
- log
- modules
- on-run-end-context
- profiles-yml-context
- project_name
- ref
- return
- run_query
- run_started_at
- schema
- schemas
- source
- statement-blocks
- target
- this
- tojson
- toyaml
- var