Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 621
Zeile 95... Zeile 95...
95
 
95
 
96
        return $from;
96
        return $from;
Zeile 97... Zeile 97...
97
    }
97
    }
-
 
98
 
-
 
99
    /**
-
 
100
     * Compile the index hints for the query.
-
 
101
     *
-
 
102
     * @param  \Illuminate\Database\Query\Builder  $query
-
 
103
     * @param  \Illuminate\Database\Query\IndexHint  $indexHint
-
 
104
     * @return string
-
 
105
     */
-
 
106
    protected function compileIndexHint(Builder $query, $indexHint)
-
 
107
    {
-
 
108
        return $indexHint->type === 'force'
-
 
109
                    ? "with (index({$indexHint->index}))"
-
 
110
                    : '';
-
 
111
    }
98
 
112
 
99
    /**
113
    /**
100
     * {@inheritdoc}
114
     * {@inheritdoc}
101
     *
115
     *
102
     * @param  \Illuminate\Database\Query\Builder  $query
116
     * @param  \Illuminate\Database\Query\Builder  $query