Amazon DynamoDB
Developer Guide (API Version 2012-08-10)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

Try a Query Using the Amazon DynamoDB Console

In this section, you will use the Amazon DynamoDB console to try an example query against the Reply table. The query finds forum replies posted in the last 15 days for the "DynamoDB Thread 1" thread in the "Amazon DynamoDB" forum.

To query a table

  1. Open the Amazon DynamoDB console at https://console.aws.amazon.com/dynamodb/home.

    If you have not already signed in, you will see the Sign In dialog before you see the console.

  2. In the Tables pane, select the Reply table and click Explore Table.

  3. In the Browse Items tab, click Query.

    The console shows data entry fields for you to specify the hash and range primary key values, Hash Key and Range Key. It also shows drop-down list boxes for you to select comparison operators.

  4. Specify the Hash Key and Range Key values and select comparison operators as shown in the following screen shot. For the Range Key (ReplyDateTime), enter a date 15 days earlier than today's date.

    Note that the Range Key (ReplyDateTime) value shown is only for illustration. The date value you will use depends on when you uploaded the sample data.

  5. Click Go.

    The Browse Items tab shows the query result.