Module: MongoQL::BinaryOperators
- Included in:
- Expression
- Defined in:
- lib/mongo_ql/binary_operators.rb
Constant Summary collapse
- BINARY_OPS =
{ "+": "$add", "-": "$subtract", "*": "$multiply", "/": "$divide", ">": "$gt", "gt?": "$gt", "<": "$lt", "lt?": "$lt", ">=": "$gte", "gte?": "$gte", "<=": "$lte", "lte?": "$lte", "!=": "$ne", "neq?": "$ne", "==": "$eq", "eq?": "$eq", "&": "$and", "|": "$or", "%": "$mod", "**": "$pow" }.freeze