Answers for "order by laravel data"

PHP
10

order By Asc in laravbel

->orderBy('id', 'DESC');
Posted by: Guest on October-05-2020
0

order by in datatable laravel

$('#datatable').DataTable({
    "order": [[ 2, "asc" ]] // Order on init. # is the column, starting at 0
});
Posted by: Guest on May-07-2020

Browse Popular Code Answers by Language