- Full name:
\MongoLite\UtilArrayQuery
protected static $closures
- This property is static.
public static closureCall(string $uid, mixed $doc): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$uid |
string | |
$doc |
mixed |
public static buildCondition(mixed $criteria, string $concat = ' && '): string
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$criteria |
mixed | |
$concat |
string |
public static check(mixed $value, array $condition): bool
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$value |
mixed | |
$condition |
array |
private static evaluate(string $func, mixed $a, mixed $b): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$func |
string | |
$a |
mixed | |
$b |
mixed |