Add support for == operator for Sqlite (#970)

This commit is contained in:
Ilya 2023-09-20 04:31:11 +03:00 committed by GitHub
parent f6e4be4c15
commit 71c35d4dfd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View file

@ -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)),
}
}