@@ -10,7 +10,7 @@ Sequelize is available via [npm](https://www.npmjs.com/package/sequelize) (or [y
...
@@ -10,7 +10,7 @@ Sequelize is available via [npm](https://www.npmjs.com/package/sequelize) (or [y
npm install --save sequelize
npm install --save sequelize
```
```
You also have to install manually the driver for the database of your choice:
You'll also have to manually install the driver for your database of choice:
```sh
```sh
# One of the following:
# One of the following:
...
@@ -23,7 +23,7 @@ $ npm install --save tedious # Microsoft SQL Server
...
@@ -23,7 +23,7 @@ $ npm install --save tedious # Microsoft SQL Server
## Setting up a connection
## Setting up a connection
To connect to the database, you must create a Sequelize instance. This can be done by passing the connection parameters separately to the Sequelize constructor or by passing a single connection URI directly:
To connect to the database, you must create a Sequelize instance. This can be done by either passing the connection parameters separately to the Sequelize constructor or by passing a single connection URI:
@@ -53,7 +53,7 @@ const sequelize = new Sequelize({
...
@@ -53,7 +53,7 @@ const sequelize = new Sequelize({
### Note: connection pool (production)
### Note: connection pool (production)
If you're connecting to the database from a single process, you should create only one Sequelize instance. Sequelize will setup a connection pool on initialization. This connection pool can be configured with the construction options (using `options.pool`). Example:
If you're connecting to the database from a single process, you should create only one Sequelize instance. Sequelize will set up a connection pool on initialization. This connection pool can be configured through the constructor's `options` parameter (using `options.pool`), as is shown in the following example: