Skip to main content

Module render

Module render 

Source
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.* and profile('name').*.
QueryRows
Rows returned to templates by run_query().
RenderError
Renderer
RendererConfig
RunContext
Ambient run.* context.

Traits§

Connections
Where target and profile() get their values. role is source or destination.
QueryRunner
Executes run_query() SQL on the Binding’s own session.