summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command/influxdb.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx/Command/influxdb.pm')
-rw-r--r--lib/Travelynx/Command/influxdb.pm8
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,