Pymongo $in Query Not Working
问题 Seeing some strange behavior in Pymongo $in query. Looking for records that meet the following query: speciesCollection.find({"SPCOMNAME":{"$in":['paddlefish','lake sturgeon']}}) The query returns no records. If I change it to find_one the it works returning the last value for Lake Sturgeon. The field is a text filed with one vaule. So I am looking for records that match paddlefish or Lake Sturgeon. It works fine in Mongo Shell like this: speciesCollection.find({SPCOMNAME:{$in: ['paddlefish',