pub struct PostgresDialect;Expand description
PostgreSQL 12+ dialect.
Trait Implementations§
Source§impl DatabaseDialect for PostgresDialect
impl DatabaseDialect for PostgresDialect
Source§fn kind(&self) -> DialectKind
fn kind(&self) -> DialectKind
Which dialect this is.
Source§fn quote_ident(&self, name: &str) -> String
fn quote_ident(&self, name: &str) -> String
Quote a SQL identifier for safe inclusion in dynamic SQL. Read more
Source§fn history_table_ddl(&self, schema: &str, table: &str) -> String
fn history_table_ddl(&self, schema: &str, table: &str) -> String
DDL to (idempotently) create the schema-history table. Read more
Source§fn supports_transactional_ddl(&self) -> bool
fn supports_transactional_ddl(&self) -> bool
Whether the engine supports atomic rollback of DDL inside a transaction. Read more
Auto Trait Implementations§
impl Freeze for PostgresDialect
impl RefUnwindSafe for PostgresDialect
impl Send for PostgresDialect
impl Sync for PostgresDialect
impl Unpin for PostgresDialect
impl UnsafeUnpin for PostgresDialect
impl UnwindSafe for PostgresDialect
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