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.