Skip to content

Commit bcdde9b

Browse files
Updtaed the parse_create_index_expr index description
1 parent 8d08bd5 commit bcdde9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/parser/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13619,13 +13619,13 @@ impl<'a> Parser<'a> {
1361913619
}
1362013620
}
1362113621

13622-
/// Parse an expression, optionally followed by ASC or DESC (used in ORDER BY)
13622+
/// Parse an OrderByExpr expression, optionally followed by ASC or DESC (used in ORDER BY)
1362313623
pub fn parse_order_by_expr(&mut self) -> Result<OrderByExpr, ParserError> {
1362413624
self.parse_create_index_expr::<false>()
1362513625
.map(|index_column| index_column.column)
1362613626
}
1362713627

13628-
/// Parse an expression, optionally followed by ASC or DESC (used in ORDER BY)
13628+
/// Parse an IndexColumn expression (used in CREATE INDEX)
1362913629
pub fn parse_create_index_expr<const PARSE_OPERATOR_CLASS: bool>(
1363013630
&mut self,
1363113631
) -> Result<IndexColumn, ParserError> {

0 commit comments

Comments
 (0)