|
@@ -65,6 +65,7 @@ class WebDbConnection {
|
|
|
"DATE(gameDate) >= DATE(NOW()) " .
|
|
"DATE(gameDate) >= DATE(NOW()) " .
|
|
|
"AND res.leagueId = " . $leagueId .
|
|
"AND res.leagueId = " . $leagueId .
|
|
|
" AND res.countryId = " . $countryId .
|
|
" AND res.countryId = " . $countryId .
|
|
|
|
|
+ " AND homeScore >= 0" .
|
|
|
" ORDER BY gameDate ASC";
|
|
" ORDER BY gameDate ASC";
|
|
|
|
|
|
|
|
|
|
|
|
@@ -133,4 +134,12 @@ class WebDbConnection {
|
|
|
|
|
|
|
|
$this->getSqlAsArray($sql);
|
|
$this->getSqlAsArray($sql);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ private function getGamesBySeason($leagueId, $season) {
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public function getBettingStats($leagueId) {
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|