I have a list of documents in my "components" collection, each of which has the attribute "name". For example:

```
{
     "_id" : "ce83jfieojf8"
     "name": "George"
}

```

I would like to write a query that returns a complete list of all the name values from all documents in components. 

Right now, I can use `db.components.find({'_id':0, 'name':1})`, and that will return something that looks like this: 

```
{"name" : "George"}
{"name" : "John"}
{"name" : "Paul"}

```

And I can get the name of any individual one of those documents, using an index and the .name attribute. If I put in 

```
db.components.find({'_id':0, 'name':1})[0].name 

```

I get:

```
George

```

However, what I want is a query that will return: 

```
George 
John 
Paul

```

I've looked through the Mongo documentation, but when I search for 'returning multiple values' or 'returning lists', I only get lists of documents, not lists of values from those documents. 

Is it possible to do this, or will I need to write a separate function to get each of those values individually? 

Thank you very much for your assistance.