Example #1
0
 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();
 }
Example #2
0
 public function getErrorCode($errorInfo)
 {
     return Arrays::getValue($errorInfo, 0);
 }