https://github.com/mongodb/mongo-php-builder/pull/23#discussion_r1453186123
The code would look like this:
$pipeline = new Pipeline( Stage::match( zipCode: Type::Array, number: [Type::Int, Type::Long], ), );
- depends on
-
PHPLIB-1381 Modelize enum in config
- Closed
- is related to
-
PHPLIB-1335 Add tests on Element Query Operators
- Closed
-
PHPLIB-1355 Add tests on $meta Expression Operator
- Closed
-
PHPLIB-1367 Add an enum for System variables in aggregation
- Backlog