Mongodb query problem

  mongodb, question

InpymongoUsed in_idAs a query condition, is it true that the result cannot be found? ? ?

图片描述

I found the following content on the Internet, and most articles are written in this way. Is there a problem with this query method? ? ?

图片描述

The _id in your data table is a string, not an ObjectId.