Skip to content

fix: Iterate over QueryResults to populate cursor in DatastoreTemplate#4382

Open
TenorioStephano wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
TenorioStephano:fix/issue-4348
Open

fix: Iterate over QueryResults to populate cursor in DatastoreTemplate#4382
TenorioStephano wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
TenorioStephano:fix/issue-4348

Conversation

@TenorioStephano
Copy link
Copy Markdown

Fix for issue 4348.

Resolution:
Iterate over key results to allow the use cursor in returned DatastoreResultsIterable.

Issue description:
DatastoreTemplate.java methods queryKeysSlice/queryKeysOrEntities do not iterate over results, and because of that, the cursor is not populated.

The results should be iterated in this reference, as it is already mentioned here.

Spring Cloud version 7.4.5

…Template.java once it is not populate without it.
@TenorioStephano TenorioStephano requested a review from a team as a code owner March 13, 2026 23:29
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.

1 participant