Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
find with $or in mongobd
Shohreh Honarjou
Programming language:
Whatever
2021-07-23 17:06:04
0
Q:
find with $or in mongobd
dinda angkotasan
Code:
Whatever
2021-08-31 13:03:04
db.inventory.find( { $or: [ { quantity: { $lt: 20 } }, { price: 10 } ] } )
2
Tags
find
Related
mongodb project all fields
mongodb findmany
find one with specofoc id mongoose
findbyid mongoose
MongoDB and AdHoc queries:
mongoose find() example
and in mongodb
mongoose where
mongodb match multiple fields
how to handle find in mongodb if condition fail
New to Communities?
Join the community