import { type QueryResultBatch } from "https://deno.land/x/google_datastore@0.2.1/types.d.ts";
A batch of results produced by a query.
Properties
A cursor that points to the position after the last skipped result. Will
be set when skipped_results
!= 0.
The version number of the snapshot this batch was returned from.
This applies to the range of results from the query's start_cursor
(or
the beginning of the query if no cursor was given) to this batch's
end_cursor
(not the query's end_cursor
).
In a single transaction, subsequent query result batches for the same query can have a greater snapshot version number. Each batch's snapshot version is valid for all preceding batches.
The value will be zero for eventually consistent queries.
Read timestamp this batch was returned from. This applies to the range of
results from the query's start_cursor
(or the beginning of the query if
no cursor was given) to this batch's end_cursor
(not the query's
end_cursor
). 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. This value will not be set for eventually
consistent queries in Cloud Datastore.