src/SQL/Compiler.php
protected function handleWheres(array $wheres, $prefix = true)
    {
        if (empty($wheres)) {
            return '';
        }

        $sql[] = $this->{$wheres[0]['type']}($wheres[0]);

        $count = count($wheres);

        for ($i = 1; $i < $count; $i++) {
            $sql[] = $wheres[$i]['separator'] . ' ' . $this->{$wheres[$i]['type']}($wheres[$i]);
        }

        return ($prefix ? ' WHERE ' : '') . implode(' ', $sql);
    }
protected function handleWheres(array $wheres, $prefix = true)
    {
        if (empty($wheres)) {
            return '';
        }

        $sql[] = $this->{$wheres[0]['type']}($wheres[0]);

        $count = count($wheres);

        for ($i = 1; $i < $count; $i++) {
            $sql[] = $wheres[$i]['separator'] . ' ' . $this->{$wheres[$i]['type']}($wheres[$i]);
        }

        return ($prefix ? ' WHERE ' : '') . implode(' ', $sql);
    }
protected function handleWheres ( array $ wheres , $ prefix = true ) { if ( empty ( $ wheres ) ) { return '' ; } $ sql [ ] = $ this -> { $ wheres [ 0 ] [ 'type' ] } ( $ wheres [ 0 ] ) ; $ count = count ( $ wheres ) ; for ( $ i = 1 ; $ i < $ count ; $ i ++ ) { $ sql [ ] = $ wheres [ $ i ] [ 'separator' ] . ' ' . $ this -> { $ wheres [ $ i ] [ 'type' ] } ( $ wheres [ $ i ] ) ; } return ( $ prefix ? ' WHERE ' : '' ) . implode ( ' ' , $ sql ) ; }
Handle WHERE conditions

@param   array $wheres
@param   bool $prefix (optional)

@return string
Handle WHERE conditions