pub enum AnyDialect {
Sqlite(SqliteDialect),
Postgres(PostgresDialect),
MySql(MySqlDialect),
MariaDb(MariaDbDialect),
MsSql(MsSqlDialect),
Oracle(OracleDialect),
}Variants§
Sqlite(SqliteDialect)
Postgres(PostgresDialect)
MySql(MySqlDialect)
MariaDb(MariaDbDialect)
MsSql(MsSqlDialect)
Oracle(OracleDialect)
Implementations§
Source§impl AnyDialect
impl AnyDialect
pub fn parse(name: &str) -> OrmdanticResult<Self>
Trait Implementations§
Source§impl Clone for AnyDialect
impl Clone for AnyDialect
Source§fn clone(&self) -> AnyDialect
fn clone(&self) -> AnyDialect
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 AnyDialect
Source§impl Debug for AnyDialect
impl Debug for AnyDialect
Source§impl Dialect for AnyDialect
impl Dialect for AnyDialect
fn kind(&self) -> DialectKind
fn name(&self) -> &'static str
fn quote_ident(&self, ident: &str) -> String
fn placeholder(&self, index: usize) -> String
fn supports_returning(&self) -> bool
fn supports_native_uuid(&self) -> bool
fn supports_json(&self) -> bool
fn feature_set(&self) -> FeatureSet
fn render_column_type(&self, column: &ColumnDef) -> String
fn compile_schema_operation( &self, operation: &SchemaOperation, ) -> OrmdanticResult<Vec<String>>
fn begin_transaction_sql(&self, options: &TransactionOptions) -> Vec<String>
fn set_isolation_sql(&self, isolation_level: IsolationLevel) -> String
fn savepoint_sql(&self, name: &SavepointName) -> String
fn rollback_to_savepoint_sql(&self, name: &SavepointName) -> String
fn release_savepoint_sql(&self, name: &SavepointName) -> String
fn reflection_queries(&self, scope: &ReflectionScope) -> Vec<ReflectionQuery>
fn upsert_conflict_clause( &self, conflict_column: &str, update_columns: &[String], ) -> OrmdanticResult<String>
fn max_bind_parameters(&self) -> Option<usize>
fn supports_feature(&self, feature: BackendFeature) -> bool
Auto Trait Implementations§
impl Freeze for AnyDialect
impl RefUnwindSafe for AnyDialect
impl Send for AnyDialect
impl Sync for AnyDialect
impl Unpin for AnyDialect
impl UnsafeUnpin for AnyDialect
impl UnwindSafe for AnyDialect
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