Data

The Complete Tutorial on the Top 5 Ways to Query Your Relational Database in JavaScript - Part 2

By David Salgado in heroku

April 29, 2020

Welcome back! In the first part of this series, we looked at a very “low-level” way to interact with a relational database by sending it raw SQL strings and retrieving the results. We created a very simple Express application that we can use as an example and deployed it on Heroku with a Postgres database.

Continue reading

The Complete Tutorial on the Top 5 Ways to Query your Relational Database in JavaScript - Part 1

By David Salgado in heroku

April 28, 2020

If you’re developing web applications, you’re almost certainly going to be constantly interacting with a database. And when it comes time to select the*way*you’ll interact, the choices can be overwhelming. In this article, we’re going to look in detail at 5 different ways to interact with your database using JavaScript, and we’ll talk about the pros and cons of each. We’ll start with the lowest-level choice — SQL Commands — then move through to higher-level abstractions.

Continue reading