Skip to main content

Module mysql

Module mysql 

Source
Available on crate feature mysql_backend only.
Expand description

Provides types and functions related to working with MySQL

Much of this module is re-exported from database agnostic locations. However, if you are writing code specifically to extend Diesel on MySQL, you may need to work with this module directly.

Modules§

data_typesmariadb_backend or mysql_backend
Data structures for MySQL types which have no corresponding Rust type
sql_typesmariadb_backend or mysql_backend
MySQL specific sql types

Structs§

Mysql
The MySQL backend
MysqlValuemariadb_backend or mysql_backend
Raw mysql value as received from the database

Enums§

MysqlTypemariadb_backend or mysql_backend
Represents possible types, that can be transmitted as via the Mysql wire protocol
NumericRepresentationmariadb_backend or mysql_backend
Represents all possible forms MySQL transmits integers

Type Aliases§

MysqlConnectionmysql
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]
MysqlQueryBuilder
The MySQL query builder