You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there
I want to retrieve the matched results count with results simultaneously to reduce roundtrips when I use pagination in my aggregation query. Is it possible to act in Redis.OM?
If I want to say clearly I want the pointed result in the following picture:
The text was updated successfully, but these errors were encountered:
I think you can probably run both a count and your aggregation together asynchronously. Ironically I think the low level results set (which isn't exposed) does capture the count 🤔
Yes @slorello89
I ran both as you said, but sometimes our queries (primarily aggregate) are time-consuming, I think about something like PaginatedResult that can expose this count when we have pagination to reduce round trips and prevent calling complex queries two times.
Hi there
I want to retrieve the matched results count with results simultaneously to reduce roundtrips when I use pagination in my aggregation query. Is it possible to act in
Redis.OM
?If I want to say clearly I want the pointed result in the following picture:
The text was updated successfully, but these errors were encountered: