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.

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

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

Syntax

C#
public virtual IEnumerable<T> Query(
         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.Betwee, 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: IEnumerable<T>
Lazy-loaded collection of results.

Version Information

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