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_types
Data structures for MySQL types which have no corresponding Rust type
sql_types
MySQL specific sql types

Structs§

Mysql
The MySQL backend
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
MysqlValue
Raw mysql value as received from the database

Enums§

MysqlType
Represents possible types, that can be transmitted as via the Mysql wire protocol
NumericRepresentation
Represents all possible forms MySQL transmits integers