1
00:00:00,300 --> 00:00:07,170
In this video, we are going to query data into Dynamo DB table with using a double click commands so

2
00:00:07,170 --> 00:00:09,870
we will create the items into our order table.

3
00:00:10,570 --> 00:00:16,690
In order to do that, please open the visa code and go to the exit folder and open the command section.

4
00:00:16,720 --> 00:00:22,450
We query an item through the dynamic DB API using query and providing the partition key.

5
00:00:22,510 --> 00:00:30,280
So as you can see that we are using the Dynamo DB query Select Command and specifying the table name

6
00:00:30,280 --> 00:00:32,230
and key condition expression.

7
00:00:32,230 --> 00:00:39,070
We are giving the partition key as a query parameter and you can see the expression attribute values

8
00:00:39,070 --> 00:00:43,300
which include the our query parameter, which is the string one.

9
00:00:43,300 --> 00:00:48,430
So we are going to query which partition key is one.

10
00:00:48,430 --> 00:00:50,080
So I'm going to use Windows one.

11
00:00:50,080 --> 00:00:57,640
So let me copy this command and paste in here or PowerShell command line hit enter.

12
00:00:58,450 --> 00:01:02,550
This will be returned back to us to query data.

13
00:01:02,560 --> 00:01:06,220
Let me collect all and after that I will explain.

14
00:01:06,220 --> 00:01:13,420
So if you can see that we have get two items, the first item is partition key is one and sort key is

15
00:01:13,420 --> 00:01:18,580
delivery and second item is again party key is one and sort key is import case.

16
00:01:18,580 --> 00:01:25,270
So we can manage to query our order table with providing the partition k at the same way you can query

17
00:01:25,270 --> 00:01:31,120
from looking for the third key and we can see the other attributes which retrieving from the Amazon

18
00:01:31,120 --> 00:01:32,230
Dynamo DB table.
