title: HOw to upload large content html under an array in monogodb through cmd
body: <p>I have an structure like this:</p>
  <pre><code>{
   &quot;_id&quot; : ObjectId(&quot;5f31183723406c2ad8b72e7e&quot;),
   content: [&quot;&lt;h3 class=\&quot;ql-align-justify\&quot;&gt;Hello world&lt;h3&gt;&quot;]
  }
  </code></pre>
  <p>Now When update content field through cmd and replace the content with large content then on cmd, mongodb will not fully copy the string and generates error
  <strong>uncaught exception: SyntaxError: &quot;&quot; literal not terminated before end of script :</strong></p>
  <p>On my development machine I have a robo mongo GUI so I will directly update the content and things are fine.</p>
  <p>But on server I have to do all this things through terminal and I am facing the error.</p>
  <p>Command which I am using is</p>
  <pre><code>db.CollectionName.updateOne({_id: ObjectId('5f31183723406c2ad8b72e7e')}, {$set: {content: [&quot;here my large content of html&quot;]}})
  </code></pre>