mongodb find starts with code example
Example 1: mongodb find like
db.users.find({"name": /.*m.*/});
db.users.find({"name": /m/});
Items.find({"description": {$regex: ".*" + variable + ".*"}}).fetch();
Example 2: like in mongodb
db.users.find({"name": /m/})
Example 3: mongodb find starts with
db.users.find({"name": /.*m.*/})
Or, similar:
db.users.find({"name": /m/})