任何人都可以解释之间的区别:
db.collection.find({ $text: { $search: "dog cat" } })
和
Product.find({ "drug": { "$regex": "cols", "$options": "i" } })
我们应该什么时候去哪一个?
text mongoose mongodb
mongodb ×1
mongoose ×1
text ×1