Okay.
Hi.
Hi, everyone.
In this video, we need to add a little bit about the remote right here.
I completely forgot one case we made.
When the command is the parent, we want all the children.
Okay.
All the test command.
Should we remove also?
For example, inside here if I remove.
The I need right here I want entire command right here we also remove okay.
So in order to do that we just need to go follow the command over here.
Not a dot pattern.
It means if this is the pattern right.
Because the pattern is the pattern right here will be known.
Right.
And it's this here will be checked.
This is the parent.
If this is the parent we need to.
Remove right away this dot command model dot delete money and we remove the pattern.
Whoever commanded.
Okay, ladies, we will remove entire command if it match this condition.
Let me show you.
Right here.
If I copy this line and click on delete command.
Delete this.
After that, let me get command.
So now you can see it already.
Remove right.
It already remove entirely.
And we can check the database for sure.
So see okay.
We only have a two document inside the commands collections right.
It means we already work correctly.
And that's for the video.
I hope you understand.
And I will see you in.