Skip to main content

compile

Function compile 

Source
pub fn compile(
    plan: &QueryPlan,
    dialect: &dyn Dialect,
) -> Result<CompiledQuery, OrmError>
Expand description

Compile plan for dialect.

§Errors

OrmError::Capability if the plan needs a feature the dialect does not declare; QueryError::InvalidPlan for structural problems (unresolved relations, wrong function arity, OuterRef outside a subquery, …).