Documentation

Query
in package
uses FactoryTrait

FinalYes

Factories for Query Operators

Tags
see
https://www.mongodb.com/docs/manual/reference/operator/query/

Table of Contents

Methods

fieldQuery()  : FieldQueryInterface
Combine multiple field query operators that apply to a same field.
query()  : QueryInterface
regex()  : RegexOperator
Selects documents where values match a specified regular expression.
__construct()  : mixed

Methods

regex()

Selects documents where values match a specified regular expression.

public static regex(Regex|string $regex[, string|null $flags = null ]) : RegexOperator
Parameters
$regex : Regex|string
$flags : string|null = null
Return values
RegexOperator

__construct()

private __construct() : mixed

        
On this page

Search results