pub struct PostgresGenerator {}Implementations§
Trait Implementations§
Source§impl Clone for PostgresGenerator
impl Clone for PostgresGenerator
Source§fn clone(&self) -> PostgresGenerator
fn clone(&self) -> PostgresGenerator
Returns a duplicate 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 PostgresGenerator
impl Debug for PostgresGenerator
Source§impl Default for PostgresGenerator
impl Default for PostgresGenerator
Source§fn default() -> PostgresGenerator
fn default() -> PostgresGenerator
Returns the “default value” for a type. Read more
Source§impl SqlGenerator for PostgresGenerator
impl SqlGenerator for PostgresGenerator
fn post_process(&self, origin: String) -> String
fn get_wrap_char(&self) -> char
fn get_place_holder(&self) -> char
fn pg_post_process(&self, origin_sql: String) -> String
fn get_last_row_id_sql(&self) -> &'static str
fn get_select_sql( &self, selection: &dyn Selection, primay: &dyn Primary, ) -> String
fn get_search_count_sql(&self, location: &dyn Location) -> String
fn get_search_all_sql(&self, selection: &dyn Selection) -> String
fn get_search_sql( &self, selection: &dyn Selection, location: &dyn Location, order_by: Option<&dyn OrderBy>, ) -> String
fn get_limit_sql(&self, page: &Pagination) -> String
fn get_paged_search_sql( &self, selection: &dyn Selection, location: &dyn Location, order_by: Option<&dyn OrderBy>, page: &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( &self, mutation: &dyn Mutation, primary: &dyn Primary, ) -> String
fn get_change_sql( &self, mutation: &dyn Mutation, location: &dyn Location, ) -> String
fn get_delete_sql(&self, primary: &dyn Primary) -> String
fn get_purify_sql(&self, location: &dyn Location) -> String
Auto Trait Implementations§
impl Freeze for PostgresGenerator
impl RefUnwindSafe for PostgresGenerator
impl Send for PostgresGenerator
impl Sync for PostgresGenerator
impl Unpin for PostgresGenerator
impl UnwindSafe for PostgresGenerator
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