public findAllBySql ( $sql, $parameters = [] ) : TDbDataReader | ||
return | TDbDataReader | query results. |
public function findAllBySql($sql, $parameters = array())
{
$args = func_num_args() > 1 ? array_slice(func_get_args(), 1) : null;
$criteria = $this->getCriteria($sql, $parameters, $args);
return $this->getCommand()->findAllBySql($criteria);
}