3 ms·
It sounds like the poster would like to check out the python DAL library: https://github.com/web2py/pydal https://github.com/web2py/pydal It's exactly what you
by toomim 7y ago
It sounds like the poster would like to check out the python DAL library: https://github.com/web2py/pydal https://github.com/web2py/pydal
It's exactly what you want. It blew my mind, and taught me that python syntax can natively express SQL semantics. This gives me all that ORMs are really good at -- letting you avoid having to write one language in string-form inside of another language.
- toomim 7y agoDAL also has automatic migrations! The author's tool is called "automigrate". Hmm... :)