Главная
Study mode:
on
1
Intro
2
Creating new NodeJS Project
3
The node-postgres npm library
4
Connecting to the postgres database promises
5
Executing queries promises
6
Executing queries with parameters promises
7
Executing Insert statement DML Promises
8
Connecting to postgres Async/await
9
The Results object of the query
10
Executing Transactions in Javascript Begin, Commit/Rollback
Description:
Dive into a comprehensive step-by-step tutorial on connecting JavaScript to PostgreSQL using node-postgres. Learn how to set up a NodeJS project, install the node-postgres library, and establish a connection to a PostgreSQL database. Master executing queries with promises and parameters, perform insert statements, and explore async/await syntax. Gain insights into the query results object and understand how to implement transactions with begin, commit, and rollback operations. Perfect for developers looking to integrate PostgreSQL databases into their JavaScript applications, this tutorial covers essential concepts and provides practical examples to enhance your database programming skills.

Javascript and Postgres Tutorial Using Node-Postgres

Hussein Nasser
Add to list