RogerTangos / openPDS

openpds.media.mit.edu
MIT License
1 stars 1 forks source link

Create orthogonal database connections #5

Open RogerTangos opened 10 years ago

RogerTangos commented 10 years ago

SQLite, Mongo, and Postgres are all tightly connected in a big oms_pds/pds/internal.py file right now. This "SQLiteInternalDataStore", "PostgresInternalDataStore", "InternalDataStore", "DualInternalDataStore" stuff is maddening.

Please make separate files for each type of DB, import it into internal.py, and let a single "InternalDataStore" class use those methods.