The event emitter db is a simple version of a document database implemented using log structured storage. It serves as a good example of utilizing events and asynchronous functions cohesively as well as the fundamentals of database design.
- Use
db-read-streaminfind-stream/find - Add
updateandupdateManymethods - Use a
write-streamforinsertManyinstead of buffering theblob