library/Drakojn/Io/Driver/Pdo.php
public function find(Mapper $mapper, array $query = [])
    {
        $iterator = new Select($this->pdo, $mapper, $query);
        return $iterator->getStatement()->fetchAll();
    }
public function find(Mapper $mapper, array $query = [])
    {
        $iterator = new Select($this->pdo, $mapper, $query);
        return $iterator->getStatement()->fetchAll();
    }
Searches for object matching $query

@param Mapper $mapper the Mapper
@param array  $query  the Query

@return array