ExecuteStatementOutput
import type { ExecuteStatementOutput } from "https://aws-api.deno.dev/v0.4/services/dynamodb.ts?docs=full";
interface ExecuteStatementOutput {
ConsumedCapacity?: ConsumedCapacity | null;
Items?: ({})[] | null;
[key: string]: AttributeValue | null | undefined;
LastEvaluatedKey?: {} | null;
[key: string]: AttributeValue | null | undefined;
NextToken?: string | null;
}§Properties
§
ConsumedCapacity?: ConsumedCapacity | null
[src]§
Items?: ({})[] | null
[src][key: string]: AttributeValue | null | undefined;
If a read operation was used, this property will contain the result of the read operation; a map of attribute names and their values. For the write operations this value will be empty.
§
LastEvaluatedKey?: {} | null
[src][key: string]: AttributeValue | null | undefined;
The primary key of the item where the operation stopped, inclusive of the previous result set.
Use this value to start a new operation, excluding this value in the new request.
If LastEvaluatedKey
is empty, then the "last page" of results has been processed and there is no more data to be retrieved.
If LastEvaluatedKey
is not empty, it does not necessarily mean that there is more data in the result set.
The only way to know when you have reached the end of the result set is when LastEvaluatedKey
is empty.