MongoRegex::__construct(PECL mongo >= 0.8.1) MongoRegex::__construct — Creates a new regular expression Описание
public MongoRegex::__construct
( string $regex
)
Creates a new regular expression. Список параметров
Возвращаемые значенияReturns a new regular expression. Примеры
Пример #1 MongoRegex::__construct() example This example uses a regular expression to query for all documents with a username field matching a regular expression.
<?php |
||