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 116... Zeile 116...
116
 
116
 
117
        return "strftime('{$type}', {$this->wrap($where['column'])}) {$where['operator']} cast({$value} as text)";
117
        return "strftime('{$type}', {$this->wrap($where['column'])}) {$where['operator']} cast({$value} as text)";
Zeile 118... Zeile 118...
118
    }
118
    }
-
 
119
 
-
 
120
    /**
-
 
121
     * Compile the index hints for the query.
-
 
122
     *
-
 
123
     * @param  \Illuminate\Database\Query\Builder  $query
-
 
124
     * @param  \Illuminate\Database\Query\IndexHint  $indexHint
-
 
125
     * @return string
-
 
126
     */
-
 
127
    protected function compileIndexHint(Builder $query, $indexHint)
-
 
128
    {
-
 
129
        return $indexHint->type === 'force'
-
 
130
                ? "indexed by {$indexHint->index}"
-
 
131
                : '';
-
 
132
    }
119
 
133
 
120
    /**
134
    /**
121
     * Compile a "JSON length" statement into SQL.
135
     * Compile a "JSON length" statement into SQL.
122
     *
136
     *
123
     * @param  string  $column
137
     * @param  string  $column