Hi all,
I’m reviving this thread because I was genuinely surprised to learn that this feature is still not implemented.
From what I understand, the official best practices recommend using Aggregates instead of Advanced SQL whenever possible, for maintainability and performance optimization.
However, if you try to decouple the UI from the data layer (e.g., by exposing server actions inside Business Logic modules that encapsulate filtering, sorting, and pagination), you immediately hit a wall: Aggregates don’t support start index and there’s no way to page efficiently inside a Server Action without switching to Advanced SQL.
This creates a contradiction between best practices and real-world use cases.
It’s especially painful in two scenarios:
- Exposing paged data via API
- Enforcing access control to entities and modular boundaries
In these cases, the only solution is to fall back on Advanced SQL — but that clearly conflicts with the platform’s own best practice recommendations.
I agree that this feels like a “must-have” feature in a platform aiming for scalable, secure, low-code enterprise architecture.
Thanks in advance!