This will fail loll

This commit is contained in:
Billy Chan 2021-11-08 22:55:00 +08:00
parent 17232063b3
commit 3e6423aa8a
No known key found for this signature in database
GPG Key ID: A2D690CAC7DF3CC7

View File

@ -294,10 +294,8 @@ impl DatabaseConnection {
} => *support_returning,
#[cfg(feature = "sqlx-postgres")]
DatabaseConnection::SqlxPostgresPoolConnection(_) => true,
// #[cfg(feature = "sqlx-sqlite")]
// DatabaseConnection::SqlxSqlitePoolConnection(conn) => ,
// #[cfg(feature = "mock")]
// DatabaseConnection::MockDatabaseConnection(conn) => ,
#[cfg(feature = "sqlx-sqlite")]
DatabaseConnection::SqlxSqlitePoolConnection(_) => false,
DatabaseConnection::Disconnected => panic!("Disconnected"),
_ => unimplemented!(),
}