V
V
Valera Velery2019-11-12 11:54:54
MongoDB
Valera Velery, 2019-11-12 11:54:54

How to get all users without _id from Mongodb?

How to get all users without _id from Mongodb?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hzzzzl, 2019-11-12
@valera213123

db.users.find({ 
  _id: { 
    $exists: false 
  } 
})

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question