I have this data in my database.
"_id" : ObjectId("5c1b34d11aa970061a76aa68"),
"city" : "Delhi"
I tried to get city like this.
db.myCollection.find({_id:ObjectId("5c1b34d11a970061a76aa68")},{_id:0,city:1})
I am getting output { "city" : "Delhi" } like this.
but i need only Delhi without quotes and "city". Is it possible.