DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Databases Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
Databases
How does Mongoose's `.populate()` resolve linked references behind the scenes?
A
It executes a single, atomic SQL-style JOIN query on the MongoDB server
B
It fetches the parent documents, extracts the reference IDs, and executes a second query using `$in` to fetch the child documents
C
It caches all documents in browser local storage
D
It reads pre-compiled static indexes
Check Answer