1
00:00:00,270 --> 00:00:04,650
In this video, we are going to do scan command on dynamic DB table.

2
00:00:04,980 --> 00:00:10,590
So basically we can open the scan command documentation on a disk.

3
00:00:10,680 --> 00:00:13,230
If you scroll down, you can see the example usage here.

4
00:00:13,230 --> 00:00:19,260
You can see the scan command and we can see the input values in scan command, input object and you

5
00:00:19,260 --> 00:00:26,700
can see are lots of properties in stay in here, but we will use the limited version of these properties.

6
00:00:26,700 --> 00:00:32,460
If you open the widgets, the code and create a scan table and see that the method body is the same.

7
00:00:32,460 --> 00:00:35,700
And this time we will send scan, command and import the scan combat.

8
00:00:35,700 --> 00:00:37,650
And here you can see the parameters.

9
00:00:37,650 --> 00:00:43,890
I only paste the table name and projection expression which is requesting attribute name in the Dynamo

10
00:00:43,890 --> 00:00:44,700
DB table.

11
00:00:44,700 --> 00:00:51,540
So that means we will send this scan command only the table name and that means this will be get an

12
00:00:51,570 --> 00:00:54,510
overview of all the items from the dynamic DB table.

13
00:00:54,510 --> 00:00:56,850
So that's why it is very costly operation.

14
00:00:56,880 --> 00:01:03,180
Of course we can add this filter exploration in these parameters, but this is not the change.

15
00:01:03,180 --> 00:01:09,450
The operation this will be goes one by one all the items and return back to whole dynamic DB table.

16
00:01:09,450 --> 00:01:18,420
So in order to do that one note scan table command and hit enter see that we can get to 100 success

17
00:01:18,420 --> 00:01:23,250
response and we have two items to get back to from this scan command.
