Skip to content

3.2.7 — 2025-01-06

← 3.3.0 | 3.2.6 → | ↑ 3.x series

Improvements

Database Query Flexibility

  • Enhanced query result handling - Added has_multiple_entities parameter to search query methods in both synchronous and asynchronous SQLAlchemy adapters and ports. This new parameter provides flexible control over query result processing, allowing developers to choose between fetchall() for multiple entities or scalars().all() for single entity queries, optimizing performance based on query requirements.

Database Performance

  • Optimized search query execution - Refactored SQLAlchemy query execution method to use fetchall() instead of scalars().all() for improved performance and memory efficiency in both synchronous and asynchronous adapters