Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AggregationResultBatch

import type { AggregationResultBatch } from "https://googleapis.deno.dev/v1/datastore:v1.ts";

A batch of aggregation results produced by an aggregation query.

interface AggregationResultBatch {
aggregationResults?: AggregationResult[];
moreResults?:
| "MORE_RESULTS_TYPE_UNSPECIFIED"
| "NOT_FINISHED"
| "MORE_RESULTS_AFTER_LIMIT"
| "MORE_RESULTS_AFTER_CURSOR"
| "NO_MORE_RESULTS";
readTime?: Date;
}

§Properties

§
aggregationResults?: AggregationResult[]
[src]

The aggregation results for this batch.

§
moreResults?: "MORE_RESULTS_TYPE_UNSPECIFIED" | "NOT_FINISHED" | "MORE_RESULTS_AFTER_LIMIT" | "MORE_RESULTS_AFTER_CURSOR" | "NO_MORE_RESULTS"
[src]

The state of the query after the current batch. Only COUNT(*) aggregations are supported in the initial launch. Therefore, expected result type is limited to NO_MORE_RESULTS.

§
readTime?: Date
[src]

Read timestamp this batch was returned from. In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches.