mercredi 17 octobre 2018

Whats wrong with my Laravel eloquent query

What's wrong with my Laravel query, it is giving one less result than original result.

Test::where('has_ftd', 1)
               ->where('ftd_date', '>=', $date_from)
               ->where('ftd_date', '<=', $date_to)
               ->paginate(10);



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire