N
N
Nikita2020-12-05 17:29:58
MongoDB
Nikita, 2020-12-05 17:29:58

What should the find query look like for the condition "field A or field B equals"?

The model has 3 fields

new mongoose.Schema({
    "a": String,
    "b": String,
    "c": String
})


What should the query for find() look like Поле А или поле B равно "значение"?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question