This commit is contained in:
Chris Tsang 2021-06-20 16:23:49 +08:00
parent 8eaf7868c4
commit cdc8056d4b

View File

@ -98,6 +98,11 @@ impl DatabaseConnection {
_ => panic!("not mock connection"), _ => panic!("not mock connection"),
} }
} }
#[cfg(not(feature = "mock"))]
pub fn as_mock_connection(&self) -> Option<bool> {
None
}
} }
impl QueryBuilderBackend { impl QueryBuilderBackend {