MongoDB Vérifiez si la sous-chaîne en chaîne

#all documents whose description field contains anywhere
#in the text the "beach" sub string
query = db.collection.find({
  "description" : {"$regex" : ".*beach.*"}
})
Annoyed Antelope