In this video, we are going to read data into Dynamo TV table with using a laser light commands.
In this step we will read several items into the order dynamo DB table.
To do that, please open the pseudocode and go to lecture folder and open the command text file.
So we basically use the Dynamo DB gate item Select Command and we are providing some configurations,
for example, consistent read and we are providing the table name.
And of course we will provide the key information to get item from the Dynamo DB table.
So this is the MAC version and this is the Windows version.
So I'm going to use Windows version to get these.
Item on Dynamo DB table is remember that in the last video we have added two items.
So I'm going to retrieve one item which is the partition key is one.
And the third key is a delivery, which is the status and ID attributes.
So please copy these commands and paste in here.
Let me.
More.
And paste in here, hit enter.
So as you can see that we can successfully get response from the Dynamo DB table.
So we basically requesting an item ID is the one and the status is a delivery.
These are the partition and sort.
K and we have also other attributes comes from the dynamic DB table item, which is the description
and the order date.
So when we are sending requests to the dynamic DB in the Get Item Klein Command, we also provide consistent
read.
So what is consistent with consistency?
As you remember that the DB has two consistent level, which is the eventual consistency and strong
consistency.
So by default it is come from the eventual consistency.
To make it a strong consistency, we can provide this attribute.
So let me explain on the documentation.
If you open the gate item documentation, you can come to the syntax syntax and come to consistent read.
If you click this consistency it you can understand how it is working.
If set through the operation use strong consistency it otherwise the operation use the eventual consistency.
So that's why we are providing the consistent read and I have showed this documentation and how you
can set the configurations in similar documentation with using the API API reference documentation.
So as you can see that we have successfully get item from the Dynamo DB table using the SQL commands.