in my laravel application I have following table called schools
like this
id name project type created_at updated_at
1 gfr bottle hard 2018-06-25 2018-06-25
2 kio book soft 2018-06-27 2018-06-27
3 nhj vehicle hard 2018-06-27 2018-06-27
1 nhy bottle hard 2018-06-28 2018-06-28
1 gfr book soft 2018-06-28 2018-06-28
Now I need controller function to print name
,project
, and type
between 2018-06-27
and 2018-06-28
and I have following controller function
$datas = Schools::orderBy('id','desc')->get();
then how can I filter time limit here
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire