prueba columns
This commit is contained in:
@@ -292,7 +292,9 @@ export async function getAll(
|
||||
m.status, m.last_reading_value, m.last_reading_at, m.installation_date,
|
||||
m.created_at, m.updated_at,
|
||||
c.name as concentrator_name, c.serial_number as concentrator_serial,
|
||||
c.project_id, p.name as project_name
|
||||
c.project_id, p.name as project_name,
|
||||
m.protocol, m.voltage, m.signal, m.leakage_status, m.burst_status,
|
||||
m.current_flow, m.total_flow_reverse, m.manufacturer, m.latitude, m.longitude
|
||||
FROM meters m
|
||||
JOIN concentrators c ON m.concentrator_id = c.id
|
||||
JOIN projects p ON c.project_id = p.id
|
||||
|
||||
Reference in New Issue
Block a user