pub struct DefaultSqlGenerator {}Implementations§
Trait Implementations§
Source§impl Clone for DefaultSqlGenerator
impl Clone for DefaultSqlGenerator
Source§fn clone(&self) -> DefaultSqlGenerator
fn clone(&self) -> DefaultSqlGenerator
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DefaultSqlGenerator
impl Debug for DefaultSqlGenerator
Source§impl Default for DefaultSqlGenerator
impl Default for DefaultSqlGenerator
Source§fn default() -> DefaultSqlGenerator
fn default() -> DefaultSqlGenerator
Returns the “default value” for a type. Read more
Source§impl SqlGenerator for DefaultSqlGenerator
impl SqlGenerator for DefaultSqlGenerator
fn get_wrap_char(&self) -> char
fn get_place_holder(&self) -> char
fn pg_post_process(&self, origin_sql: String) -> String
fn post_process(&self, origin: String) -> String
fn get_last_row_id_sql(&self) -> &'static str
fn get_exists_sql<M: Mutation>( &self, primary: &dyn Unique<Mutation = M>, ) -> String
fn get_select_sql<M: Mutation>( &self, selection: &dyn Selection, primary: &dyn Unique<Mutation = M>, ) -> String
fn get_count_table_sql(&self, table_name: &str) -> String
fn get_count_sql(&self, location: &dyn Location) -> String
fn get_page_sql(&self, page: &Option<&Pagination>) -> String
fn get_order_by_sql(&self, order_by: &Option<&dyn OrderBy>) -> String
fn get_where_sql(&self, location: &Option<&dyn Location>) -> String
fn get_search_paged_sql( &self, selection: &dyn Selection, location: &Option<&dyn Location>, order_by: &Option<&dyn OrderBy>, page: &Option<&Pagination>, ) -> String
fn get_page_joined_search_sql( &self, joined_conds: &JoinedConditions, locations: &Vec<&dyn Location>, _order_by: &Option<&dyn OrderBy>, selections: &Vec<&dyn Selection>, _page: &Pagination, ) -> String
fn get_insert_sql(&self, entity: &dyn Entity) -> String
fn get_create_sql(&self, entity: &dyn Entity) -> String
fn get_upsert_sql(&self, entity: &dyn Entity) -> String
fn get_update_sql<M: Mutation>( &self, mutation: &M, unique: &dyn Unique<Mutation = M>, ) -> String
fn get_change_sql<L: Location>( &self, mutation: &dyn Mutation<Location = L>, location: &L, ) -> String
fn get_delete_sql<M: Mutation>( &self, primary: &dyn Unique<Mutation = M>, ) -> String
fn get_purify_sql(&self, location: &dyn Location) -> String
Auto Trait Implementations§
impl Freeze for DefaultSqlGenerator
impl RefUnwindSafe for DefaultSqlGenerator
impl Send for DefaultSqlGenerator
impl Sync for DefaultSqlGenerator
impl Unpin for DefaultSqlGenerator
impl UnwindSafe for DefaultSqlGenerator
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more