ScanAsync(string, Dictionary<string, AttributeValue>, string, Func<Dictionary<string, AttributeValue>, TResult>)
public Task<List<TResult>> ScanAsync<TResult>(string tableName, Dictionary<string, AttributeValue> attributes, string expression, Func<Dictionary<string, AttributeValue>, TResult> resolver) Scan a DynamoDB table by querying the entry fields.
Parameters
tableNamestring- The name of the table to search for the entries
attributesDictionary<string, AttributeValue>- The attributes used on the expression
expressionstring- The filter expression
resolverFunc<Dictionary<string, AttributeValue>, TResult>- Function that will be called to translate the returned fields into a concrete type. This Function is only called if the result is != null and will be called for each entry that match the query and added to the results list
Returns
The collection containing a list of objects translated by the resolver function
