Major - P3
Original Downstream Change Summary
This project will add three new bitwise aggregation operators: $bitAnd, $bitOr, and $bitXor.
Description of Linked Ticket
Provide expressions in the aggregation language to allow the server to compute common bitwise operations.
As customers write applications against MongoDB, we encourage them to push their calculations into the server for improved performance. Bitwise operators are common in many programming languages. These operators exist already in the update and find languages and have for many years. With bitwise operators available in aggregation pipelines, we widen the door to the type of calculations that we can perform on behalf of users.
Technical Design Document