Struct luna_orm::prelude::PostgresGenerator
source · pub struct PostgresGenerator {}Implementations§
Trait Implementations§
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_select_sql( &self, selection: &dyn Selection, primay: &dyn Primary ) -> String
fn get_search_count_sql(&self, location: &dyn Location) -> 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_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 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