aa
This commit is contained in:
@@ -703,8 +703,9 @@ Route::get('/artlibronuovo', function () {
|
||||
echo "Finito";
|
||||
});
|
||||
|
||||
/*
|
||||
|
||||
Route::get('/artlibrousato', function () {
|
||||
/*
|
||||
set_time_limit(0);
|
||||
$articles = Article::join(DB::raw('(SELECT IdArticolo, MAX(DataOra) AS data FROM T_WEB_Articoli GROUP BY IdArticolo) b'), function ($join) {
|
||||
$join->on('T_WEB_Articoli.IdArticolo', '=', 'b.IdArticolo')
|
||||
@@ -739,14 +740,6 @@ Route::get('/artlibrousato', function () {
|
||||
//->take(5)
|
||||
//->orderBy('ListaAutori')
|
||||
->get();
|
||||
/*
|
||||
->chunk(100, function ($articles) {
|
||||
foreach($articles as $article){
|
||||
echo $article->Id.' '. $article->IdArticolo. ' '. $article->Titolo .' '. $article->DescrizioneStatoProdotto. ' ' . $article->DescrizioneFormato .'<br>';
|
||||
}
|
||||
|
||||
});
|
||||
*/
|
||||
//dd($articles);
|
||||
//ob_implicit_flush(true);
|
||||
foreach ($articles as $article) {
|
||||
@@ -820,7 +813,8 @@ Route::get('/artlibrousato', function () {
|
||||
}
|
||||
}
|
||||
echo "Finito";
|
||||
}); */
|
||||
*/
|
||||
});
|
||||
|
||||
Route::get(
|
||||
'/test2',
|
||||
|
||||
Reference in New Issue
Block a user