1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
use crate::cursor::HasCursor;
use crate::database::Database;
use crate::mysql::error::MySqlError;
use crate::row::HasRow;
use crate::value::HasRawValue;
#[derive(Debug)]
pub struct MySql;
impl Database for MySql {
type Connection = super::MySqlConnection;
type Arguments = super::MySqlArguments;
type TypeInfo = super::MySqlTypeInfo;
type TableId = Box<str>;
type RawBuffer = Vec<u8>;
type Error = MySqlError;
}
impl<'c> HasRow<'c> for MySql {
type Database = MySql;
type Row = super::MySqlRow<'c>;
}
impl<'c, 'q> HasCursor<'c, 'q> for MySql {
type Database = MySql;
type Cursor = super::MySqlCursor<'c, 'q>;
}
impl<'c> HasRawValue<'c> for MySql {
type Database = MySql;
type RawValue = super::MySqlValue<'c>;
}