diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-02-09 19:09:16 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-02-09 19:09:16 +0100 |
commit | 39ebc84e5f29c971d6a91594e548299c918b56b5 (patch) | |
tree | a95aaa7b9cdb9a606da9622dbbe41cde6848d8eb /lib/Travelynx/Model/Stations.pm | |
parent | fe0a8738999e12f53c149cfdb227172959e19cfb (diff) |
add dumpstops command2.5.16
Diffstat (limited to 'lib/Travelynx/Model/Stations.pm')
-rw-r--r-- | lib/Travelynx/Model/Stations.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Travelynx/Model/Stations.pm b/lib/Travelynx/Model/Stations.pm index 5bbe781..ac4019c 100644 --- a/lib/Travelynx/Model/Stations.pm +++ b/lib/Travelynx/Model/Stations.pm @@ -71,6 +71,12 @@ sub add_meta { } } +sub get_db_iterator { + my ($self) = @_; + + return $self->{pg}->db->select( 'stations', '*' ); +} + sub get_meta { my ( $self, %opt ) = @_; my $db = $opt{db} // $self->{pg}->db; |