title: Mongoose - Save array of strings
body: <p>I can't save an array of strings into my DB using <code>Mongoose</code>.</p>
  
  <p>(Note all code below is simplified for ease of writing here)</p>
  
  <p>So i declare a variable of a person schema I have:</p>
  
  <pre><code>var newPerson = new Person ({
      tags: req.body.tags
  });
  </code></pre>
  
  <p>The schema itself looks like:</p>
  
  <pre><code>var personSchema = new mongoose.Schema({
    tags: Array
  });
  </code></pre>
  
  <p>And when it comes to saving its just a simple:</p>
  
  <pre><code>newPerson.save(function(err) {
      //basic return of json
  });
  </code></pre>
  
  <p>So using Postman I send in an array in the body - however everytime I check the DB, it just shows one entry with the array as a whole i.e. how I sent it:</p>
  
  <p><a href="https://i.stack.imgur.com/ovZwc.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ovZwc.png" alt="enter image description here"></a></p>
  
  <p>Any ideas what extra I'm supposed to do?</p>