Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IP SPRINT - improve queryUntilLimitReached #49

Merged
merged 2 commits into from
Nov 10, 2023

Conversation

dobregons
Copy link
Contributor

Summary

In integrations, we encountered a scenario where, despite specifying a limit for a query, the number of returned elements is less than the specified limit. This discrepancy arises when the size of the returned elements exceeds 1MB. To address this, we aim to utilize the queryUntilLimitReached method to obtain the desired number of elements based on the specified limit. In this pull request, I am eliminating the conditionality around having a filterExpression to seamlessly integrate this method. Even when no filterExpression is provided, using this function will still execute a single query if the limit is reached.

@dobregons dobregons requested a review from a team as a code owner November 9, 2023 22:58
@dobregons dobregons changed the title IP SPRINT - improve query until limit reached IP SPRINT - improve queryUntiLlimitReached Nov 9, 2023
@dobregons dobregons changed the title IP SPRINT - improve queryUntiLlimitReached IP SPRINT - improve queryUntilLlimitReached Nov 9, 2023
@dobregons dobregons changed the title IP SPRINT - improve queryUntilLlimitReached IP SPRINT - improve queryUntilLimitReached Nov 9, 2023
@dobregons dobregons merged commit df6d08d into main Nov 10, 2023
11 checks passed
@dobregons dobregons deleted the ip-improve-query-until-limit-reached branch November 10, 2023 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants