Skip to Content
Node Cookbook - Fourth Edition
book

Node Cookbook - Fourth Edition

by Bethany Griggs
November 2020
Intermediate to advanced
512 pages
8h 58m
English
Packt Publishing
Content preview from Node Cookbook - Fourth Edition

Chapter 7: Working with Databases

Many applications require data access and storage, and in many cases, a traditional relational database suits the application's requirements. In a relational database, the data will likely have a defined relationship, organized into tables.

However, more recently there has been the emergence of non-relational databases, often falling under the term NoSQL databases. NoSQL databases suit data where there isn't an easily predefined structure, or where flexibility in the data structure is required.

In this chapter, we will look at how we can persist data to both SQL and NoSQL databases with Node.js.

 This chapter will cover the following recipes: 

  • Connecting and persisting to a MySQL database
  • Connecting and persisting ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Node.js 12.x

Mastering Node.js 12.x

Dimitiris Loukas
Node Cookbook - Third Edition

Node Cookbook - Third Edition

Matteo Collina, David Mark Clements, Peter Elger, Mathias Buus Madsen
Node.js: Tools & Skills, 2nd Edition

Node.js: Tools & Skills, 2nd Edition

James Hibbard, Michael Wanyoike, Nilson Jacques, Jay Raj, Manjunath M
Your First Week With Node.js, 2nd Edition

Your First Week With Node.js, 2nd Edition

James Hibbard, Craig Buckler, Mark Brown, Nilson Jacques, James Kolce, Paul Orac, M. David Green, Florian Rappl

Publisher Resources

ISBN: 9781838558758Supplemental Content