statistic wip
This commit is contained in:
1 parent
01a3f41ec0
commit
d6620fb0a1
10 files changed
+408
-333
No files matched your search
@@ -4,41 +4,5 @@ namespace App\Actions\Statistics;
|
||||
|
||||
class StatisticEvents
|
||||
{
|
||||
public static function load($filter)
|
||||
{
|
||||
$data = EventData::get($filter);
|
||||
|
||||
if (! $data) {
|
||||
return [];
|
||||
}
|
||||
|
||||
return [];
|
||||
dd($data);
|
||||
|
||||
/*
|
||||
"team_position" => "away"
|
||||
"similar_past_matches" => "none"
|
||||
"statistic_type" => "none"
|
||||
"accuracy" => 0.5
|
||||
"league_id" => "87"
|
||||
"team_id" => null
|
||||
"startDate" => null
|
||||
"endDate" => null
|
||||
"palyer_id" => null
|
||||
|
||||
'sport_id',
|
||||
'league_id',
|
||||
'home_id',
|
||||
'away_id',
|
||||
'starttime',
|
||||
*/
|
||||
|
||||
// $res = StatistikoEvent::where('league_id', $league_id)->get();
|
||||
// $result = DB::connection('mongodb')
|
||||
// ->table('movies')
|
||||
// ->where('league_id', $league_id)
|
||||
// ->orWhere('home_id', $home_id)
|
||||
// ->get();
|
||||
|
||||
}
|
||||
public static function load($filter) {}
|
||||
}
|
||||
Reference in new issue
Block a user