mydoc=list(mycol.find({ “pId”:“3020956658” }, {“id1”: 1, “drId”: 0, “name”: 1, “cno”:1, “email”:1, “address”:1,“compid”:0,“comp”:0,“compst”:0,“personalh”:0, “presenth”:0, “pasth”:0,“fh”:1}))
The above line is giving error.
I have tried to follow the order of the different fields.
Kindly help