Currently various getter on the DAO layer accept different parameters to filter on different objects, for example:
trips = dao.trips(fltr=..., stop_fltr=...)
Merge the various filter into one, such as this:
trips = dao.trips(fltr=...)
That would need to be able to automatically join the appropriate table when needed (for example on table trip, joint stop_times then stops if we filter on stops).
Currently various getter on the DAO layer accept different parameters to filter on different objects, for example:
Merge the various filter into one, such as this:
That would need to be able to automatically join the appropriate table when needed (for example on table
trip
, jointstop_times
thenstops
if we filter on stops).