@@ -6315,6 +6315,10 @@ impl Display for MySQLColumnPosition {
6315
6315
}
6316
6316
}
6317
6317
6318
+ /// Snowflake `WITH ROW ACCESS POLICY policy_name ON (identifier, ...)`
6319
+ ///
6320
+ /// <https://docs.snowflake.com/en/sql-reference/sql/create-table>
6321
+ /// <https://docs.snowflake.com/en/user-guide/security-row-intro>
6318
6322
#[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
6319
6323
#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
6320
6324
#[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
@@ -6340,6 +6344,9 @@ impl Display for RowAccessPolicy {
6340
6344
}
6341
6345
}
6342
6346
6347
+ /// Snowflake `WITH TAG ( tag_name = '<tag_value>', ...)`
6348
+ ///
6349
+ /// <https://docs.snowflake.com/en/sql-reference/sql/create-table>
6343
6350
#[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
6344
6351
#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
6345
6352
#[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
@@ -6360,10 +6367,13 @@ impl Display for Tag {
6360
6367
}
6361
6368
}
6362
6369
6370
+ /// Helper to indicate if a comment includes the `=` in the display form
6363
6371
#[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
6364
6372
#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
6365
6373
#[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
6366
6374
pub enum CommentDef {
6375
+ /// Includes `=` when printing the comment, as `COMMENT = 'comment'`
6376
+ /// Does not include `=` when printing the comment, as `COMMENT 'comment'`
6367
6377
WithEq ( String ) ,
6368
6378
WithoutEq ( String ) ,
6369
6379
}
0 commit comments