修改了错误的数据库方法
This commit is contained in:
@@ -126,7 +126,7 @@ pub async fn get_weather_details(pool: &PgPool, weather_id: i32) -> Result<Weath
|
||||
let query = r#"
|
||||
SELECT
|
||||
wd.id, wd.title, wd.date, wd.hour, wd.min,
|
||||
wd.longitude::float8 as longitude, wd.latitude::float8 as latitude,
|
||||
wd.longitude, wd.latitude,
|
||||
wd.daysincejanfirst, wd.theta, wd.solardeclination,
|
||||
wd.sunaltitude, wd.overallcloudiness, wd.lowcloudiness,
|
||||
wd.cloudindex, wd.solarradiationlevel, wd.hasmeasuredwindspeed,
|
||||
|
||||
Reference in New Issue
Block a user