Here is the command which uses starts with paradigm
db.customer.find({"customer_name" : { $regex : /^startswith/ }})
Here is the command which uses starts with paradigm
db.customer.find({"customer_name" : { $regex : /^startswith/ }})