mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-12-22 10:25:01 +00:00
[server] Tweak measurement data properties
This commit is contained in:
parent
3a62ef08d9
commit
aa88da0617
1 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,9 @@ class MariaDBMeasurementDataRepository implements IMeasurementDataRepository {
|
|||
$o = $this->get_static_extra;
|
||||
return $this->database->query(
|
||||
"SELECT
|
||||
{$s("table_name_values")}.*,
|
||||
{$s("table_name_values")}.{$s("column_values_value")},
|
||||
{$s("table_name_values")}.{$s("column_values_reading_id")},
|
||||
|
||||
{$s("table_name_metadata")}.{$s("column_metadata_device_id")},
|
||||
COALESCE(
|
||||
{$s("table_name_metadata")}.{$s("column_metadata_recordedon")},
|
||||
|
|
Loading…
Reference in a new issue