Reisen und IT
  • Startseite
  • Über mich / about me

Reisen und IT

Ausflüge, Linux, Reisen

MongoDB count entries with search word

MongoDB count entries with search word

19. Oktober 2023 Sven Krämer Kommentare 0 Kommentare

db.scfi.find({„Titel“:{$regex: „Charlotte“, $options:’i‘}}).count()

To find all entries with the word „Charlotte“, case-sensitive in the collection „Titel“ (German word for title, headline)


Datenbanken
Collection, Linux, MongoDB, Mongoshell, search, suche

Beitragsnavigation

VORHERIGER
Mönchengladbach – Kaarst – Meerbusch-Krefeld-Duisburg-Mülheim-Essen
NÄCHSTER
MongoDB Umstellung auf eine nächst höhere Version