Skip to content

Commit 1fcd313

Browse files
vrutthumarephys
andauthored
Update getting-started.md (#708)
Co-authored-by: Alyx <[email protected]>
1 parent 04f100a commit 1fcd313

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

versioned_docs/version-6.x.x/getting-started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sidebar_position: 2
33
title: Getting Started
44
---
55

6-
In this tutorial you will learn to make a simple setup of Sequelize.
6+
In this tutorial, you will learn to make a simple setup of Sequelize.
77

88
## Installing
99

@@ -89,7 +89,7 @@ const sequelize = new Sequelize('sqlite::memory:');
8989
// Code here! It works!
9090
```
9191

92-
To experiment with the other dialects, which are harder to setup locally, you can use the [Sequelize SSCCE](https://github.com/papb/sequelize-sscce) GitHub repository, which allows you to run code on all supported dialects directly from GitHub, for free, without any setup!
92+
To experiment with the other dialects, which are harder to set up locally, you can use the [Sequelize SSCCE](https://github.com/papb/sequelize-sscce) GitHub repository, which allows you to run code on all supported dialects directly from GitHub, for free, without any setup!
9393

9494
## New databases versus existing databases
9595

@@ -99,7 +99,7 @@ Also, if you want to use Sequelize to connect to a database that is already fill
9999

100100
## Logging
101101

102-
By default, Sequelize will log to console every SQL query it performs. The `options.logging` option can be used to customize this behavior, by defining the function that gets executed every time Sequelize would log something. The default value is `console.log` and when using that only the first log parameter of log function call is displayed. For example, for query logging the first parameter is the raw query and the second (hidden by default) is the Sequelize object.
102+
By default, Sequelize will log into the console for every SQL query it performs. The `options.logging` option can be used to customize this behavior, by defining the function that gets executed every time Sequelize logs something. The default value is `console.log` and when using that only the first log parameter of a log function call is displayed. For example, for query logging the first parameter is the raw query and the second (hidden by default) is the Sequelize object.
103103

104104
Common useful values for `options.logging`:
105105

@@ -116,6 +116,6 @@ const sequelize = new Sequelize('sqlite::memory:', {
116116

117117
## Promises and async/await
118118

119-
Most of the methods provided by Sequelize are asynchronous and therefore return Promises. They are all [Promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) , so you can use the Promise API (for example, using `then`, `catch`, `finally`) out of the box.
119+
Most of the methods provided by Sequelize are asynchronous and therefore return Promises. They are all [Promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise), so you can use the Promise API (for example, using `then`, `catch`, `finally`) out of the box.
120120

121121
Of course, using `async` and `await` works fine as well.

0 commit comments

Comments
 (0)