Skip to main content

Module drivers

Module drivers 

Source
Expand description

Database driver implementations.

This module provides concrete implementations of the DatabaseDriver trait for MySQL and PostgreSQL databases, along with a factory function for creating driver instances from connection URLs.

Re-exports§

pub use mysql::MySqlDriver;
pub use postgres::PostgresDriver;

Modules§

mysql
postgres

Functions§

create_driver
Creates a database driver from a connection URL.