i'm trying a simple query in Mongo which in MySQL would look like this.
select * from emails where bounceCount > sentCount;
So far I have.
db.email.find({ bounceCount : { $gt : sentCount } } );
But I get this error
JS Error: ReferenceError: sentCount is not defined (shell):0
How do I reference the sentCount in that shell?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…