pub struct SqlCompiler<D> { /* private fields */ }Implementations§
Source§impl<D: SqlDialect> SqlCompiler<D>
impl<D: SqlDialect> SqlCompiler<D>
Sourcepub fn compile_schema(schema: &TableSchema) -> CompiledSchema
pub fn compile_schema(schema: &TableSchema) -> CompiledSchema
Compiles a model schema, including indexes.
Sourcepub fn compile(ast: &QueryAst) -> CompiledQuery
pub fn compile(ast: &QueryAst) -> CompiledQuery
Compiles a query AST using dialect D.
Auto Trait Implementations§
impl<D> Freeze for SqlCompiler<D>
impl<D> RefUnwindSafe for SqlCompiler<D>where
D: RefUnwindSafe,
impl<D> Send for SqlCompiler<D>where
D: Send,
impl<D> Sync for SqlCompiler<D>where
D: Sync,
impl<D> Unpin for SqlCompiler<D>where
D: Unpin,
impl<D> UnsafeUnpin for SqlCompiler<D>
impl<D> UnwindSafe for SqlCompiler<D>where
D: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more