Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
TypeScript
mongodb find documents where two fields are equal
Mertcan Ekiz
Programming language:
TypeScript
2021-04-09 07:00:47
0
Q:
mongodb find documents where two fields are equal
faeze
Code:
TypeScript
2021-08-18 17:59:11
db.myCollection.find( {
$w
here:
"this.a1.a != this.a2.a"
} )
0
Tags
field
find
mongodb
two
Related
mongo change all documents on field
mongoose get all documents big
New to Communities?
Join the community