diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-10-01 10:30:24 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-10-01 10:30:24 +0200 |
commit | 4a2897c1f812d3deb3b799b8c10b67dd2d1f11f6 (patch) | |
tree | ebbe4f82f0b052093b73035019a66455575eadc1 /lib/Travelynx/Command | |
parent | aaeb81a5d230ca556fa950d0f9be0b98e85effcf (diff) |
influxdb: add meta / related_stations count
Diffstat (limited to 'lib/Travelynx/Command')
-rw-r--r-- | lib/Travelynx/Command/influxdb.pm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Travelynx/Command/influxdb.pm b/lib/Travelynx/Command/influxdb.pm index 1ad0d6c..f3fc3de 100644 --- a/lib/Travelynx/Command/influxdb.pm +++ b/lib/Travelynx/Command/influxdb.pm @@ -121,6 +121,14 @@ sub run { ->hash->{count} ) ); + push( + @stations, + query_to_influx( + 'meta', + $db->select( 'related_stations', 'count(*) as count' ) + ->hash->{count} + ) + ); push( @traewelling, |