NodeJs: An open-source platform for executing javascript code on the server-side. Also, a javascript runtime built on Chrome’s V8 JavaScript engine. It can be downloaded… Read More
Tag Archives: NodeJS-MySQL
We will see how to check if the server where our MySQL Database is Hosted is Active or Not. Syntax: database_connection.ping(callback); Modules: NodeJS ExpressJS MySQL… Read More
Introduction: We are going to see how to create and use mysql database in nodejs. We are going to do this with the help of… Read More
We use SQL DELETE Query to delete data with some condition from MySQL Table. Syntax: This will delete all rows of customers’ tables but everything… Read More
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… Read More
Introduction: We use the SQL ORDER BY Clause to sort the data with respect to some column value in ascending or descending order. Syntax: SELECT… Read More
Introduction: Learn about Selecting data from MySQL database using node.js. We are going to use standard SELECT FROM SQL Query. Syntax: SELECT [column] FROM [table_name]… Read More
DROP TABLE Query is used to Delete or Drop a table from MySQL Database. Syntax: This will delete users table. But this will throw error… Read More
LIMIT Clause is used to set the maximum size of the number of rows in the output of SQL Query. Syntax: Select only 3 rows… Read More