Opposite of Finder::findLast().
If no beans are found, this method will return NULL.
public findLast ( string $type, string $sql = NULL, array $bindings = [] ) : redbeanphp\OODBBean | ||
$type | string | the type of bean you are looking for |
$sql | string | SQL query to find the desired bean, starting right after WHERE clause |
$bindings | array | values array of values to be bound to parameters in query |
return | redbeanphp\OODBBean |