mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-16 04:00:15 +00:00
Add support for == operator for Sqlite (#970)
This commit is contained in:
parent
f6e4be4c15
commit
71c35d4dfd
2 changed files with 9 additions and 0 deletions
|
@ -885,6 +885,7 @@ impl<'a> Tokenizer<'a> {
|
|||
chars.next(); // consume
|
||||
match chars.peek() {
|
||||
Some('>') => self.consume_and_return(chars, Token::RArrow),
|
||||
Some('=') => self.consume_and_return(chars, Token::DoubleEq),
|
||||
_ => Ok(Some(Token::Eq)),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue