Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php artisan orderByDesc

$noticias = Noticia::orderByDesc('created_at')->limit(10)->get();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #artisan #orderByDesc
ADD COMMENT
Topic
Name
4+1 =