pub struct SqlGenerator;Implementations§
Source§impl SqlGenerator
impl SqlGenerator
pub fn gen_sql( &self, db_type: &DatabaseType, sql_type: &SqlType, table: &TableDef<'_>, ) -> TokenStream
pub fn gen_insert_sql( &self, table_def: &TableDef<'_>, db_type: &DatabaseType, ) -> TokenStream
pub fn gen_upsert_sql( &self, table_def: &TableDef<'_>, db_type: &DatabaseType, ) -> TokenStream
pub fn gen_update_set_sql( &self, table_def: &TableDef<'_>, db_type: &DatabaseType, ) -> TokenStream
pub fn gen_where_sql( &self, condition_def: &ConditionDef<'_>, db_type: &DatabaseType, ) -> TokenStream
pub fn gen_select_sql( &self, table_def: &TableDef<'_>, db_type: &DatabaseType, ) -> TokenStream
Trait Implementations§
Source§impl Debug for SqlGenerator
impl Debug for SqlGenerator
Source§impl Default for SqlGenerator
impl Default for SqlGenerator
Source§fn default() -> SqlGenerator
fn default() -> SqlGenerator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SqlGenerator
impl RefUnwindSafe for SqlGenerator
impl Send for SqlGenerator
impl Sync for SqlGenerator
impl Unpin for SqlGenerator
impl UnwindSafe for SqlGenerator
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