We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15ce17e commit ae1a201Copy full SHA for ae1a201
src/parser/update/mod.rs
@@ -46,7 +46,7 @@ impl<'a> UpdateStatementParser for Parser<'a> {
46
} else {
47
return Err(ParsingError::UnexpectedToken(format!(
48
"Expected ON CONFLICT keyword, got: {}",
49
- self.peek_token()?.to_string()
+ self.peek_token()?
50
)));
51
};
52
}
@@ -80,10 +80,10 @@ impl<'a> UpdateStatementParser for Parser<'a> {
80
81
self.consume_as(TokenType::RightParen)?;
82
self.consume_as(TokenType::Equals)?;
83
- return Ok(SetClause::MultipleColumnAssignment(
+ Ok(SetClause::MultipleColumnAssignment(
84
ids,
85
self.parse_expression()?,
86
- ));
+ ))
87
88
let id = self.parse_identifier()?;
89
0 commit comments