Home
Tracks
Reset
Help
Theebug — Learn MongoDB by Doing
Light
Explorer
···
▼
THEEBUG
▼
easy
lesson1.js
lesson2.js
lesson3.js
▼
medium
lesson4.js
lesson5.js
▼
hard
lesson6.js
Completed
0/6
Score
0
JS
lesson5.js
×
THEEBUG
›
lesson5.js
1
await
users
.
______
(
{
name
:
"Ada"
}
)
;
TERMINAL
PROBLEMS
OUTPUT
DEBUG CONSOLE
⊕
⋮
$
[system] Theebug ready. Happy coding!
Code Blocks
Drag blocks into the drop zones above
4 blocks available
deleteOne
delete
remove
drop
Game Panel
0:00
0 pts
Level 5 of 6
Deleting Documents
0/1 slots correct
Objective
Delete the single user document matching this filter
Expected Output
{ acknowledged: true, deletedCount: 1 }
Use a hint
Debug says:
Deleting a document follows the same one/many naming pattern as inserting. Which method deletes exactly the first document matching this filter?
Debug the Worm