mayanez/flight_scraper

Flights in separate mongodb collection?

Opened this issue · 0 comments

I'm making some additions to your codebase and I noticed that only one "Document" is stored in the DB: Solution. I was debating about the tradeoffs of eliminating flight redundancy by having a flight "document" as well. I'm new to mongoengine at the moment. I was about to store flights separately, but I think it might affect other areas of your code.

What are your thoughts?