pub struct GenericDialect;Expand description
A generic SQL dialect using ANSI SQL standards.
Implementations§
Trait Implementations§
Source§impl Clone for GenericDialect
impl Clone for GenericDialect
Source§fn clone(&self) -> GenericDialect
fn clone(&self) -> GenericDialect
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 GenericDialect
impl Debug for GenericDialect
Source§impl Default for GenericDialect
impl Default for GenericDialect
Source§fn default() -> GenericDialect
fn default() -> GenericDialect
Returns the “default value” for a type. Read more
Source§impl Dialect for GenericDialect
impl Dialect for GenericDialect
Source§fn identifier_quote(&self) -> char
fn identifier_quote(&self) -> char
Returns the identifier quote character (e.g.,
" for standard SQL, ` for MySQL).Source§fn string_escape(&self) -> &'static str
fn string_escape(&self) -> &'static str
Returns the string escape character.
Source§fn parameter_placeholder(&self) -> &'static str
fn parameter_placeholder(&self) -> &'static str
Returns the parameter placeholder style.
Source§fn supports_returning(&self) -> bool
fn supports_returning(&self) -> bool
Returns whether the dialect supports RETURNING clause.
Source§fn supports_upsert(&self) -> bool
fn supports_upsert(&self) -> bool
Returns whether the dialect supports UPSERT (ON CONFLICT).
Source§fn supports_limit_offset(&self) -> bool
fn supports_limit_offset(&self) -> bool
Returns whether the dialect supports LIMIT with OFFSET.
Source§fn quote_identifier(&self, name: &str) -> String
fn quote_identifier(&self, name: &str) -> String
Quotes an identifier if necessary.
impl Copy for GenericDialect
Auto Trait Implementations§
impl Freeze for GenericDialect
impl RefUnwindSafe for GenericDialect
impl Send for GenericDialect
impl Sync for GenericDialect
impl Unpin for GenericDialect
impl UnwindSafe for GenericDialect
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