fix(macros): reintroduce and fix macro tests for MySQL

This commit is contained in:
Austin Bonander
2020-06-05 21:02:24 -07:00
parent bddb2e560f
commit 80b4e2fca6
7 changed files with 121 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ impl_database_ext! {
f32,
f64,
// ordering is important here as otherwise we might infer strings to be binary
// CHAR, VAR_CHAR, TEXT
String,

View File

@@ -10,6 +10,7 @@ use sqlx_core::executor::Executor;
deserialize = "Describe<DB>: serde::de::DeserializeOwned"
))
)]
#[derive(Debug)]
pub struct QueryData<DB: Database> {
#[allow(dead_code)]
pub(super) query: String,