Skip to content

DynamoDBStorage.QueryAllAsync(string, Dictionary<string, AttributeValue>, string, Func<Dictionary<string, AttributeValue>, TResult>, CancellationToken, string, bool, bool)

QueryAllAsync(string, Dictionary<string, AttributeValue>, string, Func<Dictionary<string, AttributeValue>, TResult>, CancellationToken, string, bool, bool)

View source
public Task<List<TResult>> QueryAllAsync<TResult>(string tableName, Dictionary<string, AttributeValue> keys, string keyConditionExpression, Func<Dictionary<string, AttributeValue>, TResult> resolver, CancellationToken cancellationToken, string indexName = "", bool scanIndexForward = true, bool consistentRead = true)
Queries all matching entries using the supplied cancellation token.

Parameters

tableNamestring
The table name.
keysDictionary<string, AttributeValue>
The key condition values.
keyConditionExpressionstring
The expression filtering the keys.
resolverFunc<Dictionary<string, AttributeValue>, TResult>
Converts each entry to the result type.
cancellationTokenCancellationToken
The cancellation token.
indexNamestring
The optional secondary index name.
scanIndexForwardbool
Whether the index is read in ascending order.
consistentReadbool
Whether reads must be strongly consistent.