I am writting the following query to retrive the records based on 2 conditions.Executing the Query giving me error:
> db.employee.find({age:{$lt:32}},{salary:{$lt:40000}})
Here is the error Message:
Error: error: {
"ok" : 0,
"errmsg" : "Expression $lt takes exactly 2 arguments. 1 were passed in.",
"code" : 16020,
"codeName" : "Location16020"
}