Obtenha coluna específica em MongoDB
SELECT id,
user_id,
status
FROM people
-- mongo
db.people.find(
{ },
{ user_id: 1, status: 1 }
)
Tiny Coders
SELECT id,
user_id,
status
FROM people
-- mongo
db.people.find(
{ },
{ user_id: 1, status: 1 }
)