Answer the question
In order to leave comments, you need to log in
How to compare two fields in mongo?
Hello, I have a collection Test and it has 2 fields field1 and field2 . I'm using collection->aggregate , that's how it should be :) That's why I can't compare two fields using where. Tell me how to do this for aggregations.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question