Quantcast
Viewing latest article 1
Browse Latest Browse All 48

Answer by Deepak parmar for How to query MongoDB with "like"?

String deepakparmar, dipak, parmar

db.getCollection('yourdb').find({"name":/^dee/})

ans deepakparmar

db.getCollection('yourdb').find({"name":/d/})

ans deepakparmar, dipak

db.getCollection('yourdb').find({"name":/mar$/})

ans deepakparmar, parmar


Viewing latest article 1
Browse Latest Browse All 48

Trending Articles