Support parameter in preparation command

This commit is contained in:
Tuomas Siipola authored and David Peter committed 2018-07-05 19:12:41 +02:00
1 parent 4d68c5f72c
commit fb9b30c7f8
2 files changed
+16 -10

No files matched your search

+4
View File
@@ -38,6 +38,10 @@ impl<'a> Command<'a> {
None => self.expression.into(),
}
}
pub fn get_parameter(&self) -> Option<(&'a str, i32)> {
self.parameter
}
}
impl<'a> fmt::Display for Command<'a> {