Available on crate features
mariadb_backend or mysql_backend only.Expand description
Provides shared types and functions related to working with MySQL and MariaDB
Modules§
- data_
types - Data structures for MySQL types which have no corresponding Rust type
- sql_
types - MySQL specific sql types
Structs§
- Mysql
Like Connection mariadbormysql - A connection to a MySQL database. Connection URLs should be in the form
mysql://[user[:password]@]host/database_name[?unix_socket=socket-path&ssl_mode=SSL_MODE*&ssl_ca=/etc/ssl/certs/ca-certificates.crt&ssl_cert=/etc/ssl/certs/client-cert.crt&ssl_key=/etc/ssl/certs/client-key.crt] - Mysql
Value - Raw mysql value as received from the database
Enums§
- Mysql
Type - Represents possible types, that can be transmitted as via the Mysql wire protocol
- Numeric
Representation - Represents all possible forms MySQL transmits integers
Traits§
- Mysql
Like Backend - A trait for backends which implement the MySQL wire protocol. This is implemented for both MySQL and MariaDB, and can be used when writing code that is compatible with both backends.