In this chapter we learned about the mysql module, how it enables us to connect to relational databases, how using asynchronous callbacks and the Streaming API enable us to write efficient applications even when large result sets need to be handled, and analyzed how database applications can be attacked and, more importantly, how we can protect our applications against these kinds of attacks.

Get The Node Craftsman Book now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.