Suppose you have a users
collection in a database named people
. Documents in the users
collection resemble the following:
{
_id: 1,
name: "Gram Parsons",
DOB: "1946-11-05"
}
In the mongo shell, how would you query this collection for all users that have an "m" somewhere in their name?