File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -705,6 +705,7 @@ pub enum Expr {
705
705
name : Ident ,
706
706
} ,
707
707
/// `DuckDB` specific `Struct` literal expression [1]
708
+ ///
708
709
/// Syntax:
709
710
/// ```sql
710
711
/// syntax: {'field_name': expr1[, ... ]}
Original file line number Diff line number Diff line change @@ -2131,13 +2131,15 @@ impl<'a> Parser<'a> {
2131
2131
) )
2132
2132
}
2133
2133
2134
- /// DuckDB specific: Parse a struct literal [1]
2135
- /// Syntax
2134
+ /// DuckDB specific: Parse a duckdb dictionary [1]
2135
+ ///
2136
+ /// Syntax:
2137
+ ///
2136
2138
/// ```sql
2137
2139
/// {'field_name': expr1[, ... ]}
2138
2140
/// ```
2139
2141
///
2140
- /// [1] https://duckdb.org/docs/sql/data_types/struct#creating-structs
2142
+ /// [1]: https://duckdb.org/docs/sql/data_types/struct#creating-structs
2141
2143
fn parse_duckdb_struct_literal ( & mut self ) -> Result < Expr , ParserError > {
2142
2144
self . expect_token ( & Token :: LBrace ) ?;
2143
2145
You can’t perform that action at this time.
0 commit comments