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

PHPLIB-1380: Add tests for $search and $searchMeta stages #61

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

alcaeus
Copy link
Member

@alcaeus alcaeus commented Feb 2, 2024

PHPLIB-1380

Added tests for these two stages from the documentation, which is in a different place than that for other stages.

For now, this uses object(...) to define the contents of the search stage. I've created PHPLIB-1388 to track creation of dedicated builders for search operators, and this will likely involve having a separate encoder, as the $search stage will only take a list of operators.

@alcaeus alcaeus requested a review from GromNaN February 2, 2024 08:54
@alcaeus alcaeus self-assigned this Feb 2, 2024
@alcaeus alcaeus changed the title Add tests for $search and $searchMeta stages PHPLIB-1380: Add tests for $search and $searchMeta stages Feb 2, 2024
@alcaeus alcaeus merged commit 040833d into mongodb:0.1 Feb 2, 2024
@alcaeus alcaeus deleted the search-stage-tests branch February 2, 2024 12:29
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