Documentation

Stage
in package
uses FactoryTrait

FinalYes

Table of Contents

Methods

match()  : MatchStage
Filters the document stream to allow only matching documents to pass unmodified into the next pipeline stage. $match uses standard MongoDB queries. For each input document, outputs either one document (a match) or zero documents (no match).
__construct()  : mixed

Methods

match()

Filters the document stream to allow only matching documents to pass unmodified into the next pipeline stage. $match uses standard MongoDB queries. For each input document, outputs either one document (a match) or zero documents (no match).

public static match(DateTimeInterface|QueryInterface|FieldQueryInterface|Type|stdClass|array<string|int, mixed>|bool|float|int|string|null ...$queries) : MatchStage
Parameters
$queries : DateTimeInterface|QueryInterface|FieldQueryInterface|Type|stdClass|array<string|int, mixed>|bool|float|int|string|null

The query predicates to match

Tags
see
https://www.mongodb.com/docs/manual/reference/operator/aggregation/match/
Return values
MatchStage

__construct()

private __construct() : mixed

        
On this page

Search results