That would have to be:
You're looking for something that contains "m" somewhere (SQL's '
%' operator is equivalent to Regexp's '
.*'), not something that has "m" anchored to the beginning of the string.
note: mongodb uses regular expressions which are more powerful than "LIKE" in sql. With regular expressions you can create any pattern that you imagine.