Skip to main content

compile_write

Function compile_write 

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

Compile a write plan for dialect.

ยงErrors

OrmError::Capability for unsupported features (e.g. RETURNING), and QueryError::InvalidPlan for an insert without rows or with rows whose length differs from the column list.