LoopBack uses similar JSON object as MongoDB to describe a query. Please keep in mind that LoopBack supports multiple databases such as MongoDB, MySQL, and Oracle. Ideally, the operator should be supported by all of them. LoopBack connectors map it into native queries.
We don't support bitwise operators for all the connectors yet. But for MongoDB, we pass through the operators by adding a $. For example, {mod: [ 4, 0 ])
becomes $mod: [ 4, 0 ]
.
Please open an issue. We'll follow up there.