Skip to content

Commit

Permalink
PHPLIB-1596 Fully describe $search and $searchMeta stages
Browse files Browse the repository at this point in the history
  • Loading branch information
GromNaN committed Nov 25, 2024
1 parent 1074e23 commit 110aad7
Show file tree
Hide file tree
Showing 12 changed files with 6,999 additions and 44 deletions.
2 changes: 2 additions & 0 deletions generator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ it is necessary to use Yaml tags:
| Int64 | `!bson_int64 '123456789'` |
| Decimal128 | `!bson_decimal128 '0.9'` |
| UTCDateTime | `!bson_utcdatetime 0` |
| ObjectId | `!bson_ObjectId '5a9427648b0beebeb69589a1` |
| Binary | `!bson_binary 'IA=='` |
| Binary UUID | `!bson_uuid 'fac32260-b511-4c69-8485-a2be5b7dda9e'` |

To add new test cases to operators, you can get inspiration from the official MongoDB documentation and use
the `generator/js2yaml.html` web page to manually convert a pipeline array from JS to Yaml.
Loading

0 comments on commit 110aad7

Please sign in to comment.