Skip to content

Commit

Permalink
support more search operators (#3115)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbe authored Mar 3, 2021
1 parent 0c2e89e commit ce8d5c5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions deployer/src/deployer/search/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,24 @@
"&&= => LogicalANDassignment",
# E.g. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_OR_assignment
"||= => LogicalORassignment",
# E.g. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Exponentiation_assignment
"**= => Exponentiationassignment",
# E.g. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Multiplication_assignment
"*= => Multiplicationassignment",
# E.g. https://developer.mozilla.org/en-US/docs/Web/CSS/--*
"--* => CustompropertiesCSSVariables",
# E.g. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Exponentiation
"** => 'Exponentiation",
# E.g. http://localhost:3000/en-US/docs/Web/JavaScript/Reference/Operators/Strict_equality
"=== => Strictequality",
# E.g. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Strict_inequality
"!== => Strictinequality",
# E.g. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Equality
"== => Equality",
# E.g. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Inequality
"!= => Inequality",
# E.g. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Assignment
"= => Assignment",
],
)

Expand Down

0 comments on commit ce8d5c5

Please sign in to comment.