In this video, we are going to getting an item into the A.V. table for that purpose Open SDK documentation
and you can search for the gate item.
So if we search from the gate item, we can see that if you scroll down, we can see the get item command.
If you go to get item command, you can see the example implementation.
If we check the input of the get item command, we can see the parameters of this command.
We will provide the table name and we can also provide projection expression, which is the including
the attributes.
So let's get started.
In order to do that, please open the pseudocode and go to our lecture folder.
And I have created item JS file and you can see the implementation in here.
Basically we will send the get item command with these parameters we can see the parameters we provide
the table name, key information and project expression, which includes the our attribute name.
So in order to run these gate item command, we can run the node command with this specific order structure.
Please run the get item command and hit enter.
As you can see that we can get the item of the product ID one and specifically we requested product
name.
So that's why it is coming as the product name.
If we command this line of code and save gate item JS and run the same command again, as you can see
that we can get the whole object with the ID one and the product name.
As you can see that we have finished the gate item command.