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 latest version of the \u003ccode\u003eDatastoreQueryResults\u003c/code\u003e class is 4.15.0, with documentation available for versions ranging back to 3.2.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDatastoreQueryResults\u003c/code\u003e provides a complete in-memory set of query results, fetched from \u003ccode\u003eLazyDatastoreQuery\u003c/code\u003e or \u003ccode\u003eAsyncLazyDatastoreQuery\u003c/code\u003e, until the query limit or end cursor is met, or there are no more results.\u003c/p\u003e\n"],["\u003cp\u003eThis class, which inherits from \u003ccode\u003eobject\u003c/code\u003e, includes properties like \u003ccode\u003eEndCursor\u003c/code\u003e, \u003ccode\u003eEntities\u003c/code\u003e, \u003ccode\u003eMetrics\u003c/code\u003e, and \u003ccode\u003eMoreResults\u003c/code\u003e, to handle the results of the query.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eEndCursor\u003c/code\u003e property provides the cursor at the end of the results, which may only be null in cases of "explain" queries, and the \u003ccode\u003eEntities\u003c/code\u003e property returns the list of entities found by the query.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMoreResults\u003c/code\u003e property indicates the condition that ended the query and if more results are available, and \u003ccode\u003eMetrics\u003c/code\u003e property offers execution and planning insights of the query, if requested.\u003c/p\u003e\n"]]],[],null,[]]