Any reasons not to use SQLObject over SQLAlchemy?

我只是一个虾纸丫 提交于 2019-12-10 12:33:03

问题


I don't expect to need much more than basic CRUD type functionality. I know that SQLAlchemy is more flexible, but the syntax etc of sqlobject just seem to be a bit easier to get up and going with.


回答1:


I think SQLObject is more pythonic/simpler, so if it works for you, then stick with it.
SQLAlchemy takes a little more to learn, but can do more advanced things if you need that.




回答2:


Also, you might wanna take a look at elixir, which is a fairly thick wrapper around SQLAlchemy and really makes the basic tasks easy while retaining the power of SQLA.




回答3:


Try quick_orm. It is as powerful as SQLAlchemy and simpler than SQLObject.

https://github.com/tylerlong/quick_orm



来源:https://stackoverflow.com/questions/592332/any-reasons-not-to-use-sqlobject-over-sqlalchemy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!