Closed getdatakick closed 2 years ago
Statsforcast uses iso code as alias for sql expressions:
https://github.com/thirtybees/statsmodule/blob/d07099cf5b494d04d7580552ff0bf4d3b4b1857a/stats/statsforecast.php#L622-L624
Some iso codes are, however, reserved keywords. For example in
in
The fix is to properly escape aliases using backticks
Statsforcast uses iso code as alias for sql expressions:
https://github.com/thirtybees/statsmodule/blob/d07099cf5b494d04d7580552ff0bf4d3b4b1857a/stats/statsforecast.php#L622-L624
Some iso codes are, however, reserved keywords. For example
in
The fix is to properly escape aliases using backticks