You would use regex for that in mongo.
e.g: db.users.find({"name": /^m/})
db.users.find({"name": /^m/})