I have the following query:
db.pmusers.find({'firstName':'Arnold', 'lastName':/^z*/ })
I want to find documents where firstname equals Arnold
and lastName starts from Z
But this query returns:
{"firstName" :"Arnold", "lastName" : "tpxjzqi"}
Please correct my query