Skip to content

Commit a7de3c8

Browse files
JSON operators
1 parent f7b133a commit a7de3c8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ast/operator.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ pub enum BinaryOperator {
8686
PGRegexIMatch,
8787
PGRegexNotMatch,
8888
PGRegexNotIMatch,
89+
JsonColumnPath,
90+
JsonInlinePath,
8991
}
9092

9193
impl fmt::Display for BinaryOperator {
@@ -121,6 +123,8 @@ impl fmt::Display for BinaryOperator {
121123
BinaryOperator::PGRegexIMatch => "~*",
122124
BinaryOperator::PGRegexNotMatch => "!~",
123125
BinaryOperator::PGRegexNotIMatch => "!~*",
126+
BinaryOperator::JsonColumnPath => "->",
127+
BinaryOperator::JsonInlinePath => "->>",
124128
})
125129
}
126130
}

0 commit comments

Comments
 (0)