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_table_state(schema: &TableState) -> CompiledSchema
pub fn compile_table_state(schema: &TableState) -> CompiledSchema
Compiles owned schema metadata with the same dialect as model schemas.
Sourcepub fn compile(ast: &QueryAst) -> CompiledQuery
pub fn compile(ast: &QueryAst) -> CompiledQuery
Compiles a query AST using dialect D.
Auto Trait Implementations§
impl<D> Forget for SqlCompiler<D>
impl<D> Freeze for SqlCompiler<D>where
PhantomData<D>: Freeze,
impl<D> Move for SqlCompiler<D>
impl<D> RefUnwindSafe for SqlCompiler<D>where
PhantomData<D>: RefUnwindSafe,
impl<D> Send for SqlCompiler<D>where
PhantomData<D>: Send,
impl<D> Sync for SqlCompiler<D>where
PhantomData<D>: Sync,
impl<D> Unpin for SqlCompiler<D>where
PhantomData<D>: Unpin,
impl<D> UnsafeUnpin for SqlCompiler<D>where
PhantomData<D>: UnsafeUnpin,
impl<D> UnwindSafe for SqlCompiler<D>where
PhantomData<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