Persisting to Databases

This chapter covers the following recipes:

  • Connecting and sending SQL to a MySQL server
  • Connecting and sending SQL to a Postgres server
  • Storing and retrieving data with MongoDB
  • Storing and retrieving data with Redis
  • Embedded persistence with LevelDB

Get Node Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.