How to Connect Node.js Application to MySQL ?
To connect the Node App to the MySQL database we can utilize the mysql package from Node Package Manager. This module provides pre-defined methods to create connections, query execution and perform other database related operations....
read more
How to save connection result in a variable in Node.js ?
We are going to use the query function in MySQL library in node.js that will return our output as expected. Using this approach, we can save connection result in a variable in Node.js....
read more
Node.js MySQL Count() Function
We use the COUNT() function in MySQL to count a number of rows in a column satisfying the WHERE clause....
read more
Node.js MySQL Select from Table
Introduction: Learn about Selecting data from MySQL database using node.js. We are going to use standard SELECT FROM SQL Query....
read more
Check if Node.js MySQL Server is Active or not
We will see how to check if the server where our MySQL Database is Hosted is Active or Not....
read more
Node.js MySQL Update Statement
Node.js is an open-source platform for executing JavaScript code on the server-side. It can be downloaded from here. MySQL is an open-source Relational Database Management System (RDBMS) that uses Structured Query Language (SQL). It is the most popular language for adding, accessing, and managing content in a database. Here we will use the MySQL as a database for our node application. It can be downloaded from here....
read more
Node.js MySQL NULL Values
In this article, will learn to handle NULL values and make Query on the basis of NULL values....
read more
Node.js MySQL Delete Query
We use SQL DELETE Query to delete data with some condition from MySQL Table....
read more
NodeJS MySQL Create Database
Introduction:...
read more
Node.js MySQL Create Table
Introduction: Learn to create a table in MySQL database using NodeJS. We will see how to use the Create Table command in NodeJS using the MySQL module....
read more
Node.js MySQL SUM() Function
We use the SUM() function in MySQL to get Sum of the value of some columns....
read more
Node.js MySQL FORMAT() Function
FORMAT() function is a built-in function in MySQL that is used to format input numbers in the format of …**, ***, *** also, round float numbers to a specific number of decimal places....
read more