From 4a2897c1f812d3deb3b799b8c10b67dd2d1f11f6 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 1 Oct 2023 10:30:24 +0200 Subject: [PATCH] influxdb: add meta / related_stations count --- lib/Travelynx/Command/influxdb.pm | 8 ++++++++ 1 file changed, 8 insertions(+) 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,