@@ -7354,9 +7354,9 @@ impl Display for UtilityOption {
7354
7354
}
7355
7355
}
7356
7356
7357
- /// Represents the different options available for a SHOW <OBJECT>
7358
- /// statement to filter the results. Example from Snowflake:
7359
- /// https://docs.snowflake.com/en/sql-reference/sql/show-tables
7357
+ /// Represents the different options available for ` SHOW`
7358
+ /// statements to filter the results. Example from Snowflake:
7359
+ /// < https://docs.snowflake.com/en/sql-reference/sql/show-tables>
7360
7360
#[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
7361
7361
#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
7362
7362
#[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
@@ -7404,13 +7404,16 @@ impl Display for ShowStatementOptions {
7404
7404
}
7405
7405
7406
7406
#[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
7407
+ #[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
7408
+ #[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
7407
7409
pub enum ShowStatementFilterPosition {
7408
7410
Infix ( ShowStatementFilter ) , // For example: SHOW COLUMNS LIKE '%name%' IN TABLE tbl
7409
7411
Suffix ( ShowStatementFilter ) , // For example: SHOW COLUMNS IN tbl LIKE '%name%'
7410
7412
}
7411
7413
7412
7414
#[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
7413
7415
#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
7416
+ #[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
7414
7417
pub enum ShowStatementInParentType {
7415
7418
Account ,
7416
7419
Database ,
@@ -7433,6 +7436,7 @@ impl fmt::Display for ShowStatementInParentType {
7433
7436
7434
7437
#[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
7435
7438
#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
7439
+ #[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
7436
7440
pub struct ShowStatementIn {
7437
7441
pub clause : ShowStatementInClause ,
7438
7442
pub parent_type : Option < ShowStatementInParentType > ,
0 commit comments