I'm using mongodb 1.4.
I want query something as SQL's like
.
For an example in SQL:
select * from users where name like '%m%'
How to do the same in mongodb? I can't find a operator for like
in the document of http://www.mongodb.org/display/DOCS/Advanced+Queries