1
00:00:00,300 --> 00:00:09,030
In this video, we are going to getting an item into the A.V. table for that purpose Open SDK documentation

2
00:00:09,030 --> 00:00:12,480
and you can search for the gate item.

3
00:00:12,480 --> 00:00:19,860
So if we search from the gate item, we can see that if you scroll down, we can see the get item command.

4
00:00:19,890 --> 00:00:23,550
If you go to get item command, you can see the example implementation.

5
00:00:23,550 --> 00:00:30,870
If we check the input of the get item command, we can see the parameters of this command.

6
00:00:30,870 --> 00:00:36,780
We will provide the table name and we can also provide projection expression, which is the including

7
00:00:36,780 --> 00:00:37,620
the attributes.

8
00:00:37,620 --> 00:00:39,030
So let's get started.

9
00:00:39,030 --> 00:00:43,980
In order to do that, please open the pseudocode and go to our lecture folder.

10
00:00:43,980 --> 00:00:49,800
And I have created item JS file and you can see the implementation in here.

11
00:00:49,800 --> 00:00:55,440
Basically we will send the get item command with these parameters we can see the parameters we provide

12
00:00:55,440 --> 00:01:01,740
the table name, key information and project expression, which includes the our attribute name.

13
00:01:01,860 --> 00:01:09,870
So in order to run these gate item command, we can run the node command with this specific order structure.

14
00:01:09,870 --> 00:01:13,800
Please run the get item command and hit enter.

15
00:01:15,120 --> 00:01:23,490
As you can see that we can get the item of the product ID one and specifically we requested product

16
00:01:23,490 --> 00:01:23,850
name.

17
00:01:23,850 --> 00:01:26,610
So that's why it is coming as the product name.

18
00:01:26,610 --> 00:01:34,890
If we command this line of code and save gate item JS and run the same command again, as you can see

19
00:01:34,890 --> 00:01:39,120
that we can get the whole object with the ID one and the product name.

20
00:01:39,450 --> 00:01:41,880
As you can see that we have finished the gate item command.
