FOF30\Model\DataModel::whereRaw PHP Метод

whereRaw() публичный Метод

Using this method is a generally bad idea. You are better off overriding buildQuery and using state variables to customise the query build built instead of using this method to push raw SQL to the query builder. Mixing your business logic with raw SQL makes your application harder to maintain and refactor as dependencies to your database schema creep in areas of your code that should have nothing to do with it.
public whereRaw ( string $rawWhereClause )
$rawWhereClause string The raw WHERE clause to add
    public function whereRaw($rawWhereClause)
    {
        $this->whereClauses[] = $rawWhereClause;
        return $this;
    }