Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.

PHPLIB-1336 Add tests on Evaluation Query Operators #24

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

GromNaN
Copy link
Member

@GromNaN GromNaN commented Jan 15, 2024

Fix PHPLIB-1336

https://www.mongodb.com/docs/manual/reference/operator/query/#evaluation

  • $expr (already done)
  • $jsonSchema
  • $mod contains some error examples that are not allowed by the function signature.
  • $regex (already done)
  • $text requires a specific encoding, to prefix properties with dollar sign ($)
  • $where the alternative example using $expr and $function is also implemented

@@ -10,8 +10,34 @@ arguments:
-
name: divisor
type:
- int
- number
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspected there were a few more that I missed previously. Thanks for finding those 🎉

@GromNaN GromNaN merged commit 320cc26 into mongodb:0.1 Jan 16, 2024
@GromNaN GromNaN deleted the PHPLIB-1336 branch January 16, 2024 11:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants