AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Configures an async Query operation against DynamoDB, finding items that match the specified range element condition for a hash-and-range primary key.

Note:

This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginQuery and EndQuery.

Namespace: Amazon.DynamoDBv2.DataModel
Assembly: AWSSDK.DynamoDBv2.dll
Version: 3.x.y.z

Syntax

C#
public virtual AsyncSearch<T> QueryAsync(
         Object hashKeyValue,
         QueryOperator op,
         IEnumerable<Object> values,
         DynamoDBOperationConfig operationConfig
)

Parameters

hashKeyValue
Type: System.Object

Hash key of the items to query.

op
Type: Amazon.DynamoDBv2.DocumentModel.QueryOperator

Operation of the condition.

values
Type: System.Collections.Generic.IEnumerable<System.Object>

Value(s) of the condition. For all operations except QueryOperator.Between, values should be one value. For QueryOperator.Between, values should be two values.

operationConfig
Type: Amazon.DynamoDBv2.DataModel.DynamoDBOperationConfig

Config object which can be used to override the table used.

Return Value


Type: AsyncSearch<T>
AsyncSearch which can be used to retrieve DynamoDB data.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5