Reference documentation and code samples for the Google Cloud Datastore v1 API class DatastoreQueryResults.
A complete set of query results, fetched and stored in memory. Results are
fetched from a LazyDatastoreQuery or AsyncLazyDatastoreQuery
until the query-specified limit or end cursor is reached, or no more results are available.
public QueryResultBatch.Types.MoreResultsType MoreResults { get; }
The condition that caused the query to complete, indicating whether more
results are available beyond the query limit or end cursor, or whether
the data has been exhausted.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDatastoreQueryResults\u003c/code\u003e class represents a complete set of query results fetched and stored in memory from the Google Cloud Datastore v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class is used in conjunction with \u003ccode\u003eLazyDatastoreQuery\u003c/code\u003e or \u003ccode\u003eAsyncLazyDatastoreQuery\u003c/code\u003e to fetch results up to a specified limit, end cursor, or when no more results are available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDatastoreQueryResults\u003c/code\u003e contains properties such as \u003ccode\u003eEndCursor\u003c/code\u003e (the cursor at the end of the results), \u003ccode\u003eEntities\u003c/code\u003e (the list of entities returned), and \u003ccode\u003eMoreResults\u003c/code\u003e (the reason the query completed).\u003c/p\u003e\n"],["\u003cp\u003eThe page also provides a list of the different versions of this class from 4.15.0 down to 3.2.0.\u003c/p\u003e\n"]]],[],null,[]]