pub struct PostgresqlDialect;Expand description
The PostgreSQL dialect.
Trait Implementations§
Source§impl Clone for PostgresqlDialect
impl Clone for PostgresqlDialect
Source§fn clone(&self) -> PostgresqlDialect
fn clone(&self) -> PostgresqlDialect
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PostgresqlDialect
Source§impl Debug for PostgresqlDialect
impl Debug for PostgresqlDialect
Source§impl Default for PostgresqlDialect
impl Default for PostgresqlDialect
Source§fn default() -> PostgresqlDialect
fn default() -> PostgresqlDialect
Returns the “default value” for a type. Read more
Source§impl Dialect for PostgresqlDialect
impl Dialect for PostgresqlDialect
Source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
The engine’s name, as it appears in documentation and error messages.
Source§fn placeholder(&self) -> Placeholder
fn placeholder(&self) -> Placeholder
The engine’s placeholder style.
Source§fn append_only_sql(&self, table: &Table) -> Vec<String>
fn append_only_sql(&self, table: &Table) -> Vec<String>
Statements enforcing append-only on a table. Read more
Source§fn table_idempotence(&self) -> Idempotence
fn table_idempotence(&self) -> Idempotence
How
CREATE TABLE is made re-runnable.Source§fn index_idempotence(&self) -> Idempotence
fn index_idempotence(&self) -> Idempotence
How
CREATE INDEX is made re-runnable. Read moreSource§fn guard(&self, _kind: ObjectKind, _name: &str, statement: &str) -> String
fn guard(&self, _kind: ObjectKind, _name: &str, statement: &str) -> String
Wraps a statement so that re-running it is a no-op. Read more
Source§fn terminator(&self) -> &'static str
fn terminator(&self) -> &'static str
The statement terminator used when joining statements into a script.
Source§fn create_table(&self, table: &Table) -> String
fn create_table(&self, table: &Table) -> String
One
CREATE TABLE statement.impl Eq for PostgresqlDialect
Source§impl PartialEq for PostgresqlDialect
impl PartialEq for PostgresqlDialect
impl StructuralPartialEq for PostgresqlDialect
Auto Trait Implementations§
impl Freeze for PostgresqlDialect
impl RefUnwindSafe for PostgresqlDialect
impl Send for PostgresqlDialect
impl Sync for PostgresqlDialect
impl Unpin for PostgresqlDialect
impl UnsafeUnpin for PostgresqlDialect
impl UnwindSafe for PostgresqlDialect
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.