Expand description
Runtime Jinja rendering: one environment per Binding, shared by SQL, output paths and
template values. Provides run.*, var(), env_var(), run_query(), columns(),
ref(), target, profile(), the calendar functions in crate::dates and every macro in
macros/.
Structs§
- Column
- One column of a relation, as
columns()returns it. - Connection
- One profile target as templates see it:
target.*andprofile('name').*. - Query
Rows - Rows returned to templates by
run_query(). - Render
Error - Renderer
- Renderer
Config - RunContext
- Ambient
run.*context.
Traits§
- Connections
- Where
targetandprofile()get their values.roleissourceordestination. - Query
Runner - Executes
run_query()SQL on the Binding’s own session.