l
Size: a a a
l
А
$columns = [
'id',
'title',
'text',
'updated_at',
];
// тут твои жесткие выборки и в конце мердж к массиву
$result = Model::select($columns)->get(); //получение из модели
l
$columns = [
'id',
'title',
'text',
'updated_at',
];
// тут твои жесткие выборки и в конце мердж к массиву
$result = Model::select($columns)->get(); //получение из модели
HAVING template LIKE '%query%'
А
l
l
l
$field = "'{title} [{id}] {url}'";
foreach ($foundColumns as $column) {
$field = "REPLACE({$field}, '{{$column}}', `{$column}`)";
}
return $field;
DZ
DZ
DZ
l
PL
DZ
DZ
PL
DZ
PL
PL
DZ
PL