Skip to main content

QueryCompiler

Trait QueryCompiler 

Source
pub trait QueryCompiler: Send + Sync {
    // Required method
    fn compile(&self, core: &QueryCore) -> Result<CompiledQuery, Error>;
}
Expand description

Compiles QueryCore for one database dialect.

Required Methods§

Source

fn compile(&self, core: &QueryCore) -> Result<CompiledQuery, Error>

§Errors

Returns an error when the requested operation cannot be completed.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§