HomeTracks
Explorer···
THEEBUG
Completed0/6
Score0
JSlesson1.js×
THEEBUGlesson1.js
1
const result = await users.______({ name: "Ada", age: 30 });
2
console.log(result.insertedId);
$[system] Theebug ready. Happy coding!
Code BlocksDrag blocks into the drop zones above
4 blocks available
insertOne
insertMany
insert
create
Game Panel
0:000 pts
Level 1 of 6Inserting a Document
0/1 slots correct
Objective
Insert a single new user document into the collection
Expected Output
ObjectId(...)
Debug says:
MongoDB stores data as JSON-like documents, not rows in a table. Which method inserts exactly one new document into a collection?
Debug the Worm