I am confused and really don't know how and where should I choose to use one from both ?
I read docs for both
And
If I use query something like this its not working
DB::table('table_name')
->where('parent_id', $parent_id)
->whereRaw("date",">",$date)
->get();
But it works
DB::table('table_name')
->where('parent_id', $parent_id)
->where(DB::raw("date",">",$date))
->get();
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2nlwtRH
via IFTTT
Aucun commentaire:
Enregistrer un commentaire