We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e32fab0 commit 6be4fadCopy full SHA for 6be4fad
1 file changed
src/ast/ddl.rs
@@ -1372,7 +1372,11 @@ pub struct ProcedureParam {
1372
1373
impl fmt::Display for ProcedureParam {
1374
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
1375
- write!(f, "{} {}", self.name, self.data_type)
+ if let Some(mode) = &self.mode {
1376
+ write!(f, "{mode} {} {}", self.name, self.data_type)
1377
+ } else {
1378
+ write!(f, "{} {}", self.name, self.data_type)
1379
+ }
1380
}
1381
1382
0 commit comments