Categories
How to use operators in MongoDB?
Why is my $gt underlined in red? And what is the correct way to use operators in MongoDB? Error: Expression expected ':' expected db.users.find ({age: {$gt : 30}})
db.users.find ({age: {$gt : 30}})
Answer the question
In order to leave comments, you need to log in
In python: db.users.find({'age': {'$gt': 30}})
db.users.find({'age': {'$gt': 30}})
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question