WEBVTT

00:00.280 --> 00:00.800
Okay.

00:00.840 --> 00:01.280
Hi.

00:01.320 --> 00:02.320
Hi, everyone.

00:02.520 --> 00:07.160
In this video, we need to add a little bit about the remote right here.

00:07.200 --> 00:11.400
I completely forgot one case we made.

00:11.560 --> 00:17.760
When the command is the parent, we want all the children.

00:18.040 --> 00:18.360
Okay.

00:18.400 --> 00:20.240
All the test command.

00:20.280 --> 00:21.680
Should we remove also?

00:21.880 --> 00:25.320
For example, inside here if I remove.

00:28.000 --> 00:35.240
The I need right here I want entire command right here we also remove okay.

00:35.440 --> 00:43.280
So in order to do that we just need to go follow the command over here.

00:43.720 --> 00:46.520
Not a dot pattern.

00:47.400 --> 00:50.320
It means if this is the pattern right.

00:50.360 --> 00:54.360
Because the pattern is the pattern right here will be known.

00:54.840 --> 00:55.240
Right.

00:55.240 --> 00:57.480
And it's this here will be checked.

00:58.400 --> 00:59.440
This is the parent.

00:59.560 --> 01:03.240
If this is the parent we need to.

01:05.440 --> 01:19.240
Remove right away this dot command model dot delete money and we remove the pattern.

01:31.230 --> 01:33.870
Whoever commanded.

01:38.310 --> 01:47.470
Okay, ladies, we will remove entire command if it match this condition.

01:48.950 --> 01:49.990
Let me show you.

01:53.750 --> 01:54.270
Right here.

01:54.270 --> 02:01.230
If I copy this line and click on delete command.

02:01.390 --> 02:02.150
Delete this.

02:04.190 --> 02:05.910
After that, let me get command.

02:05.990 --> 02:08.470
So now you can see it already.

02:08.510 --> 02:10.030
Remove right.

02:10.030 --> 02:11.710
It already remove entirely.

02:12.710 --> 02:15.470
And we can check the database for sure.

02:25.790 --> 02:29.790
So see okay.

02:29.790 --> 02:35.590
We only have a two document inside the commands collections right.

02:35.790 --> 02:38.110
It means we already work correctly.

02:39.190 --> 02:41.510
And that's for the video.

02:41.510 --> 02:43.110
I hope you understand.

02:43.310 --> 02:44.390
And I will see you in.
