DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
mongodb find documents where two fields are equal
db.myCollection.find( { $where: "this.a1.a != this.a2.a" } )
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#mongodb
#find
#documents
#fields
#equal
ADD COMMENT
Topic
COMMENT
Name
5+4 =
Submit