title: Mongoose/MongoDB: Targeting specific sub-schemas?
body: <p>I have the following schema in mongoose:</p>
  
  <pre><code>const textSchema = new Schema({
    title: { type:String, unique: true },
    sentences: [SentenceSchema],
  })
  </code></pre>
  
  <p>Let's suppose that a typical text has around 100 sentences. Now I've changed one sentence up a little bit in the front-end and need to send that change to my server/mongodb. How would I best do this with mongoose+rest api? Would I update the whole article because of a change in a single sentence? Or is there a way for me to target only that very sentence that I want to change?</p>
  
  <p><em>PS: I am sorry, this question is probably quite basic, but it would help me out a lot! Thanks in advance for your answers!</em></p>