You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The class Database implemented in services.py isn't as modular as it's intended to be.
As of release 1.10.0, this project uses pymongo which is a NoSQL DB that easily stores dictionary / key-values in the database.
However, there may be difficulties to alter the class for say, redis. Therefore, the class needs refactoring.
Each tuple has 3 attributes - _id (primary key), uni_id and uni_pw. However, in-registration users will rather have _id and reg_id.
The text was updated successfully, but these errors were encountered:
The class
Database
implemented inservices.py
isn't as modular as it's intended to be.As of release 1.10.0, this project uses
pymongo
which is a NoSQL DB that easily stores dictionary / key-values in the database.However, there may be difficulties to alter the class for say,
redis
. Therefore, the class needs refactoring.Each tuple has 3 attributes -
_id
(primary key),uni_id
anduni_pw
. However, in-registration users will rather have_id
andreg_id
.The text was updated successfully, but these errors were encountered: