Google Cloud Datastore v1 API - Class DatastoreQueryResults (4.6.0)

public sealed class DatastoreQueryResults

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.

Inheritance

object > DatastoreQueryResults

Namespace

Google.Cloud.Datastore.V1

Assembly

Google.Cloud.Datastore.V1.dll

Properties

EndCursor

public ByteString EndCursor { get; }

The cursor at the end of the results. This will never be null.

Property Value
TypeDescription
ByteString

Entities

public IReadOnlyList<Entity> Entities { get; }

The entities returned by the query.

Property Value
TypeDescription
IReadOnlyListEntity

MoreResults

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.

Property Value
TypeDescription
QueryResultBatchTypesMoreResultsType