mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-23 10:38:57 +00:00
fix: implement AnyConnectionBackend::as_migrate for databases
This commit is contained in:
committed by
Austin Bonander
parent
a942f5316e
commit
9677430d67
@@ -62,6 +62,13 @@ impl AnyConnectionBackend for MySqlConnection {
|
||||
Connection::should_flush(self)
|
||||
}
|
||||
|
||||
#[cfg(feature = "migrate")]
|
||||
fn as_migrate(
|
||||
&mut self,
|
||||
) -> sqlx_core::Result<&mut (dyn sqlx_core::migrate::Migrate + Send + 'static)> {
|
||||
Ok(self)
|
||||
}
|
||||
|
||||
fn fetch_many<'q>(
|
||||
&'q mut self,
|
||||
query: &'q str,
|
||||
|
||||
Reference in New Issue
Block a user