Nope, if you look at
In other words
(Jan-07-2019, 01:08 PM)zatlas1 Wrote: {'_id': '1'}you should notice that value is actually
'1'
, i.e. it's a string. and you are comparing it with 1
- that's integer.In other words
'1' == 1
is really False
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs