Stub API
This commit is contained in:
parent
8eaf7868c4
commit
cdc8056d4b
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user