Python
中等
面试题库
Python
中等
SQLAlchemy 中 execute 的自动提交与手动事务管理有何差异?
Python
困难
SQLAlchemy 的 async session 与同步 session 为什么不能混用?
Python
困难
SQLAlchemy 如何用多个 engine 与 bind 实现数据库读写分离?
Python
中等
SQLAlchemy 的 expire_on_commit 会如何影响 commit 后的对象访问?
Python
困难
SQLAlchemy 的 QueuePool 中 pool_size 与 max_overflow 如何调优?
Python
中等
SQLAlchemy 的事务 autobegin 与 commit/rollback 的生命周期如何管理?
Python
中等
SQLAlchemy 中 relationship 的 back_populates 与 backref 有什么区别?
Python
简单
SQLAlchemy 的 engine 与 sessionmaker 创建成本高吗?应如何复用?
Python
中等
SQLAlchemy 的懒加载如何导致 N+1 查询?如何避免?
Python
中等
SQLAlchemy 2.x 的 select() 风格查询与旧版 Query 有什么区别?
Python
中等