How to save data from Node.js in text data of MongoDB and CouchDB

I work with mongoDb and couchDb with node JS.
The problem I am facing is how to store text in text form, such as HTML data.
I could not find much help on the Internet near encoding data using URI encoding, which would be one of the methods.
Are they any built-in methods for encoding rich text data or blob for these database engines?

+4
source share
1 answer

When using CouchDB, I would use attachments. You can read further here.

+1
source

All Articles