I am creating an application that I want to publish, I will write an application in Python. I do not want to block the use of any particular sql / nosql database in my application. How can I create an application or model layer in order not to use the SQL / NOSQL method for storing data.
Is there an ORM that plays both types of storage? I did not find him. Normally I would use sqlalchemy so that people can use MySQL / PostgreSQL / MSSQL / etc if they want to, but adding NOSQL to the image seems more complicated than I originally thought.
I have some requirements, for example:
- I do not want to use any backend for storage, which means that it does not scare people from using the application.
- it must support data schema migration (during installation or upgrade)
If you have ideas on how I can use these requirements, I would appreciate help. Is it possible to create such a structure:
+-----+ + app + +-----+ | +-------------+ + Data Access + +-------------+ | +-----------+ + SQL/NOSQL + +-----------+
thanks
source share