src/DatabaseActiveRecord/ActiveRecordModel.php
public function findAllWhere($where, $value)
    {
        $this->checkDb();
        $params = is_array($value) ? $value : [$value];
        return $this->db->connect()
                        ->select()
                        ->from($this->tableName)
                        ->where($where)
                        ->execute($params)
                        ->fetchAllClass(get_class($this));
    }
public function findAllWhere($where, $value)
    {
        $this->checkDb();
        $params = is_array($value) ? $value : [$value];
        return $this->db->connect()
                        ->select()
                        ->from($this->tableName)
                        ->where($where)
                        ->execute($params)
                        ->fetchAllClass(get_class($this));
    }
Find and return all matching the search criteria.

The search criteria `$where` of can be set up like this:
`id = ?`
`id IN [?, ?]`

The `$value` can be a single value or an array of values.

@param string $where to use in where statement.
@param mixed  $value to use in where statement.

@return array of object of this class