CouncilDataProject / cdptools_v2

Tools you can use to interact with and run Council Data Project instances.
Other
7 stars 9 forks source link

Split `Database` ABC into `RelationalDatabase` and `DocumentDatabase` objects #111

Closed evamaxfield closed 3 years ago

evamaxfield commented 4 years ago

Use Case

Please provide a use case to help us understand your request in context It is hard to optimize front-end queries when the general model currently is to have the same database schema regardless of database structure.

Solution

Please describe your ideal solution Splitting the base class into two more base classes that inherit from Database ABC would be better.

Alternatives

Please describe any alternatives you've considered, even if you've dismissed them