all where to whereDate for starttime
This commit is contained in:
1 parent
dcaf503b71
commit
831c8507cf
16 files changed
+66
-71
No files matched your search
@@ -25,7 +25,7 @@ class LogifutureNigeriaAll
|
||||
Notice::note(Nuh::$options['name'].' '.Nuh::$options['sport'], 'g');
|
||||
}
|
||||
|
||||
$mappers = Mapper::where('provider_id', 2)->where('sport_id', 5)->where('starttime', '>', Carbon::now())->get()->toArray();
|
||||
$mappers = Mapper::where('provider_id', 2)->where('sport_id', 5)->whereDate('starttime', '>', Carbon::now())->get()->toArray();
|
||||
|
||||
foreach ($mappers as $mapper) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user