Expand description
Types which represent various database backends
Modules
- sql_dialect
i-implement-a-third-party-backend-and-opt-into-breaking-changesThis module contains all options provided by diesel to configure theSqlDialecttrait.
Traits
- A database backend
- DieselReserveSpecialization
i-implement-a-third-party-backend-and-opt-into-breaking-changesThis is a marker trait which indicates that diesel may specialize a certainQueryFragmentimpl in a later version. If you as a user encounter, where rustc suggests adding this a bound to a type implementingBackendconsider adding the following bound insteadYourQueryType: QueryFragment<DB>(the concrete bound is likely mentioned by rustc as part of anote: … - HasBindCollector
i-implement-a-third-party-backend-and-opt-into-breaking-changesThe bind collector type used to collect query binds for this backend - HasRawValue
i-implement-a-third-party-backend-and-opt-into-breaking-changesThe raw representation of a database value given toFromSql. - This trait provides various options to configure the generated SQL for a specific backend.
- TrustedBackend
i-implement-a-third-party-backend-and-opt-into-breaking-changesThis trait just indicates that noone implementsSqlDialectwithout enabling thei-implement-a-third-party-backend-and-opt-into-breaking-changesfeature flag.
Type Definitions
- A helper type to get the bind collector for a database backend. Equivalent to
<DB as HasBindCollector<'a>>::BindCollector<'a>j - A helper type to get the raw representation of a database type given to
FromSql. Equivalent to<DB as Backend>::RawValue<'a>.