bugl
bugl
HomeLearnPatternsPathsSearch
HomeLearnPatternsPathsSearch

Loading lesson path

Learn/Node.js

Node.js

Database Integration

Database Integration focused on Node.js MySQL and related concepts.

Lesson 1

Node.js MySQL

Node.js can be used in database applications.

Read lesson →Loading…
Lesson 2

Node.js MySQL Create Database

To create a database in MySQL, use the "CREATE DATABASE" statement:

Read lesson →Loading…
Lesson 3

Node.js MySQL Create Table

To create a table in MySQL, use the "CREATE TABLE" statement.

Read lesson →Loading…
Lesson 4

Node.js MySQL Insert Into

To fill a table in MySQL, use the "INSERT INTO" statement.

Read lesson →Loading…
Lesson 5

Node.js MySQL Select From

To select data from a table in MySQL, use the "SELECT" statement.

Read lesson →Loading…
Lesson 6

Node.js MySQL Where

When selecting records from a table, you can filter the selection by using the "WHERE" statement:

Read lesson →Loading…
Lesson 7

Node.js MySQL Order By

Use the ORDER BY statement to sort the result in ascending or descending order.

Read lesson →Loading…
Lesson 8

Node.js MySQL Delete

You can delete records from an existing table by using the "DELETE FROM" statement:

Read lesson →Loading…
Lesson 9

Node.js MySQL Drop Table

You can delete an existing table by using the "DROP TABLE" statement:

Read lesson →Loading…
Lesson 10

Node.js MySQL Update

You can update existing records in a table by using the "UPDATE" statement:

Read lesson →Loading…
Lesson 11

Node.js MySQL Limit

You can limit the number of records returned from the query, by using the "LIMIT" statement:

Read lesson →Loading…
Lesson 12

Node.js MySQL Join

You can combine rows from two or more tables, based on a related column between them, by using a JOIN statement.

Read lesson →Loading…
Lesson 13

Node.js MongoDB

Node.js can be used in database applications.

Read lesson →Loading…
Lesson 14

Node.js MongoDB Create Database

To create a database in MongoDB, start by creating a MongoClient object, then specify a connection URL with the correct ip address and the name of the database you want to create.

Read lesson →Loading…
Lesson 15

Node.js MongoDB Create Collection

A collection in MongoDB is the same as a table in MySQL

Read lesson →Loading…
Lesson 16

Node.js MongoDB Insert

To insert a record, or document as it is called in MongoDB, into a collection, we use the insertOne() method.

Read lesson →Loading…
Lesson 17

Node.js MongoDB Find

In MongoDB we use the find and findOne methods to find data in a collection.

Read lesson →Loading…
Lesson 18

Node.js MongoDB Query

When finding documents in a collection, you can filter the result by using a query object.

Read lesson →Loading…
Lesson 19

Node.js MongoDB Sort

Use the sort() method to sort the result in ascending or descending order.

Read lesson →Loading…
Lesson 20

Node.js MongoDB Delete

To delete a record, or document as it is called in MongoDB, we use the deleteOne() method.

Read lesson →Loading…
Lesson 21

Node.js MongoDB Drop

You can delete a table, or collection as it is called in MongoDB, by using the drop() method.

Read lesson →Loading…
Lesson 22

Node.js MongoDB Update

You can update a record, or document as it is called in MongoDB, by using the updateOne() method.

Read lesson →Loading…
Lesson 23

Node.js MongoDB Limit

To limit the result in MongoDB, we use the limit() method.

Read lesson →Loading…
Lesson 24

Node.js MongoDB Join

MongoDB is not a relational database, but you can perform a left outer join by using the $lookup stage.

Read lesson →Loading…