mini\Database\PartialQuery::matches() Method

public

Signature

public function matches(object $row): bool

Parameters

Name Type Default Description
$row object required Documentation missing

Returns

bool

Documentation

Test if a row matches the query's WHERE conditions

Evaluates the full WHERE clause from the AST against the row. This works correctly with barrier() - conditions apply to the appropriate level of query nesting.

Source

src/Database/PartialQuery.php:1720-1748