use byteorder::NativeEndian;
use super::bind_collector::MysqlBindCollector;
use super::query_builder::MysqlQueryBuilder;
use backend::*;
use sql_types::TypeMetadata;
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct Mysql;
#[allow(missing_debug_implementations)]
#[derive(Hash, PartialEq, Eq, Clone, Copy)]
pub enum MysqlType {
Tiny,
Short,
Long,
LongLong,
Float,
Double,
Time,
Date,
DateTime,
Timestamp,
String,
Blob,
}
impl Backend for Mysql {
type QueryBuilder = MysqlQueryBuilder;
type BindCollector = MysqlBindCollector;
type RawValue = [u8];
type ByteOrder = NativeEndian;
}
impl TypeMetadata for Mysql {
type TypeMetadata = MysqlType;
type MetadataLookup = ();
}
impl SupportsDefaultKeyword for Mysql {}
impl UsesAnsiSavepointSyntax for Mysql {}