Skip to content

Commit bcfbda6

Browse files
author
Roman Borschel
committed
Add a comment
1 parent c7d8c33 commit bcfbda6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/parser/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,6 +1394,9 @@ impl<'a> Parser<'a> {
13941394

13951395
expr = self.parse_compound_expr(expr, vec![])?;
13961396

1397+
// Parse an optional collation cast operator following `expr`.
1398+
//
1399+
// For example (MSSQL): t1.a COLLATE Latin1_General_CI_AS
13971400
if !self.in_column_definition_state() && self.parse_keyword(Keyword::COLLATE) {
13981401
expr = Expr::Collate {
13991402
expr: Box::new(expr),

0 commit comments

Comments
 (0)