@@ -7354,9 +7354,9 @@ impl Display for UtilityOption {
73547354 }
73557355}
73567356
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>
73607360#[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
73617361#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
73627362#[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
@@ -7404,13 +7404,16 @@ impl Display for ShowStatementOptions {
74047404}
74057405
74067406#[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
7407+ #[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
7408+ #[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
74077409pub enum ShowStatementFilterPosition {
74087410 Infix ( ShowStatementFilter ) , // For example: SHOW COLUMNS LIKE '%name%' IN TABLE tbl
74097411 Suffix ( ShowStatementFilter ) , // For example: SHOW COLUMNS IN tbl LIKE '%name%'
74107412}
74117413
74127414#[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
74137415#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
7416+ #[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
74147417pub enum ShowStatementInParentType {
74157418 Account ,
74167419 Database ,
@@ -7433,6 +7436,7 @@ impl fmt::Display for ShowStatementInParentType {
74337436
74347437#[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
74357438#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
7439+ #[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
74367440pub struct ShowStatementIn {
74377441 pub clause : ShowStatementInClause ,
74387442 pub parent_type : Option < ShowStatementInParentType > ,
0 commit comments