DEV Community

codingismycraft
codingismycraft

Posted on

Potential Pitfalls of Over-Reliance on SQLAlchemy

Using SQLAlchemy, a widely-used SQL toolkit and Object-Relational Mapping (ORM) system in Python, may not always be the best choice for all scenarios. Although powerful and effective for creating UI-focused services, SQLAlchemy might lead to undesirable outcomes when used for backend services requiring modularity, high performance, and maintainability. In such cases, over-reliance on SQLAlchemy can contradict fundamental object-oriented principles, resulting in poorly structured code.

Personally, i use SQLAlchemy very sparingly and usually prefer thinner libraries based exclusively on raw SQL.

Here you can read more about it.

Top comments (1)

Collapse
 
wyattdave profile image
david wyatt

Nice write up, thanks you. Just an FYI you can import whole blog and then add it as a conical url