P
P
Puma Thailand2014-01-03 12:04:12
MongoDB
Puma Thailand, 2014-01-03 12:04:12

How to do whole word search in mongodb?

For example, I'm looking for land, I want to get:
Land Transportation
My Land Something
But I don't want to get:
Cleveland
Island
How to organize such a search?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri Shikanov, 2014-01-03
@dizballanze

You need a regexp search - refiddle.com/h21

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question