MongoDB вопросы и ответы для интервью
Question: What is the purpose of the `findOne` method in MongoDB?Answer: The `findOne` method in MongoDB is used to retrieve a single document that satisfies the specified query criteria. It returns the first document that matches the query. |
Сохранить для повторения
Добавьте этот элемент в закладки, отметьте как сложный или поместите в набор для повторения.
Войдите, чтобы сохранять закладки, сложные вопросы и наборы для повторения.
Это полезно? Да Нет
Самое полезное по оценкам пользователей: