From cfedb20cf56a3fcc066ada4cd3d89d4a0932c147 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Wed, 19 Jun 2024 17:51:30 +0200 Subject: [PATCH] aa --- routes/web.php | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/routes/web.php b/routes/web.php index 916bc6f7..e4dc2278 100644 --- a/routes/web.php +++ b/routes/web.php @@ -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 .'
'; - } - - }); - */ //dd($articles); //ob_implicit_flush(true); foreach ($articles as $article) { @@ -820,7 +813,8 @@ Route::get('/artlibrousato', function () { } } echo "Finito"; -}); */ + */ +}); Route::get( '/test2',