Skip to content

Latest commit

 

History

History
145 lines (57 loc) · 1.34 KB

UtilArrayQuery.md

File metadata and controls

145 lines (57 loc) · 1.34 KB

UtilArrayQuery

  • Full name: \MongoLite\UtilArrayQuery

Properties

closures

protected static $closures
  • This property is static.

Methods

closureCall

public static closureCall(string $uid, mixed $doc): mixed
  • This method is static.

Parameters:

Parameter Type Description
$uid string
$doc mixed

buildCondition

public static buildCondition(mixed $criteria, string $concat = ' && '): string
  • This method is static.

Parameters:

Parameter Type Description
$criteria mixed
$concat string

check

public static check(mixed $value, array $condition): bool
  • This method is static.

Parameters:

Parameter Type Description
$value mixed
$condition array

evaluate

private static evaluate(string $func, mixed $a, mixed $b): mixed
  • This method is static.

Parameters:

Parameter Type Description
$func string
$a mixed
$b mixed