Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Refactor DAO by merging all filter parameters #30

Closed
laurentg opened this issue Feb 12, 2016 · 1 comment
Closed

Refactor DAO by merging all filter parameters #30

laurentg opened this issue Feb 12, 2016 · 1 comment

Comments

@laurentg
Copy link
Contributor

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).

@laurentg
Copy link
Contributor Author

Fixed in 02cccde and 32ff3e4.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant