Available on crate feature
any only.Expand description
SEE DOCUMENTATION BEFORE USE. Runtime-generic database driver.
The underlying database drivers are chosen at runtime from the list set via
install_drivers. Any use of [AnyConnection] or [AnyPool]
without this will panic.
It is recommended to use install_default_drivers to activate all currently compiled-in drivers.
Structs§
- Any
- Opaque database driver. Capable of being used in place of any SQLx database driver. The actual driver used will be selected at runtime, from the connection url.
- AnyArguments
- AnyConnect
Options - Opaque options for connecting to a database. These may only be constructed by parsing from a connection url.
- AnyQuery
Result - AnyRow
- AnyStatement
- AnyTransaction
Manager - AnyType
Info - AnyValue
- AnyValue
Ref
Enums§
Traits§
- AnyExecutor
- An alias for
Executor<'_, Database = Any>.
Functions§
- install_
default_ drivers - Install all currently compiled-in drivers for [
AnyConnection] to use. - install_
drivers - Install the list of drivers for
AnyConnectionto use.