mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-09-04 21:20:32 +00:00
rename rex to expr in ASTNode
This commit is contained in:
parent
7aab880387
commit
5d62167d6e
2 changed files with 4 additions and 4 deletions
|
@ -110,7 +110,7 @@ impl Parser {
|
|||
"CASE" => self.parse_case_expression(),
|
||||
"NOT" => Ok(ASTNode::SQLUnary {
|
||||
operator: SQLOperator::Not,
|
||||
rex: Box::new(self.parse_expr(0)?),
|
||||
expr: Box::new(self.parse_expr(0)?),
|
||||
}),
|
||||
_ => return parser_err!(format!("No prefix parser for keyword {}", k)),
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue