public function join() { $any = Arrays::any($this->_query->joinClauses, function (JoinClause $joinClause) { return Strings::equalsIgnoreCase($joinClause->type, 'RIGHT'); }); if ($any) { throw new \Exception('RIGHT JOIN is not supported in sqlite3.'); } return parent::join(); }
public function getErrorCode($errorInfo) { return Arrays::getValue($errorInfo, 0); }