Add support for PostgreSQL ^@ starts-with operator (#1091)

This commit is contained in:
Alexander Beedie 2024-01-15 14:42:03 +04:00 committed by GitHub
parent a71b3f5e82
commit 7cb1654d81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 8 deletions

View file

@ -1728,6 +1728,7 @@ fn parse_pg_binary_ops() {
(">>", BinaryOperator::PGBitwiseShiftRight, pg_and_generic()),
("<<", BinaryOperator::PGBitwiseShiftLeft, pg_and_generic()),
("&&", BinaryOperator::PGOverlap, pg()),
("^@", BinaryOperator::PGStartsWith, pg()),
];
for (str_op, op, dialects) in binary_ops {