@@ -6464,6 +6464,10 @@ impl Display for MySQLColumnPosition {
6464
6464
}
6465
6465
}
6466
6466
6467
+ /// Snowflake `WITH ROW ACCESS POLICY policy_name ON (identifier, ...)`
6468
+ ///
6469
+ /// <https://docs.snowflake.com/en/sql-reference/sql/create-table>
6470
+ /// <https://docs.snowflake.com/en/user-guide/security-row-intro>
6467
6471
#[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
6468
6472
#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
6469
6473
#[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
@@ -6489,6 +6493,9 @@ impl Display for RowAccessPolicy {
6489
6493
}
6490
6494
}
6491
6495
6496
+ /// Snowflake `WITH TAG ( tag_name = '<tag_value>', ...)`
6497
+ ///
6498
+ /// <https://docs.snowflake.com/en/sql-reference/sql/create-table>
6492
6499
#[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
6493
6500
#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
6494
6501
#[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
@@ -6509,10 +6516,13 @@ impl Display for Tag {
6509
6516
}
6510
6517
}
6511
6518
6519
+ /// Helper to indicate if a comment includes the `=` in the display form
6512
6520
#[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
6513
6521
#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
6514
6522
#[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
6515
6523
pub enum CommentDef {
6524
+ /// Includes `=` when printing the comment, as `COMMENT = 'comment'`
6525
+ /// Does not include `=` when printing the comment, as `COMMENT 'comment'`
6516
6526
WithEq ( String ) ,
6517
6527
WithoutEq ( String ) ,
6518
6528
}
0 commit comments