Using the terminal, I need to set a field in the document with a text, like an article for example, but it seems to be too long, this text certainly is lower than 16MB.
db.test.insertOne({ _id: 10, text: "/article content/", qty: 5 })
Only set it as a normal field, returns a Syntax Error.
SyntaxError: missing ; before statement @(shell):1:9
What would be the best way to insert this document, with this field, in the collection?