不要怂,就是干,撸起袖子干!

Commit 7fe6da1e by Sushant

docs(basic-usage): explain options, read-replication and dialects

1 parent 6931c795
Showing with 5 additions and 3 deletions
...@@ -25,7 +25,8 @@ ...@@ -25,7 +25,8 @@
"asset": "./docs/images", "asset": "./docs/images",
"badge": false, "badge": false,
"installation": [ "installation": [
"./docs/getting-started.md" "./docs/getting-started.md",
"./docs/usage.md"
], ],
"tutorial": [ "tutorial": [
"./docs/models-definition.md", "./docs/models-definition.md",
......
# Scopes # Scopes
Scoping allows you to define commonly used queries that you can easily use later. Scopes can include all the same attributes as regular finders, `where`, `include`, `limit` etc. Scoping allows you to define commonly used queries that you can easily use later. Scopes can include all the same attributes as regular finders, `where`, `include`, `limit` etc.
## Definition ## Definition
......
## Basic usage # Basic usage
To get the ball rollin' you first have to create an instance of Sequelize. Use it the following way: To get the ball rollin' you first have to create an instance of Sequelize. Use it the following way:
...@@ -154,7 +154,7 @@ Sequelize uses a pool to manage connections to your replicas. The default option ...@@ -154,7 +154,7 @@ Sequelize uses a pool to manage connections to your replicas. The default option
idle: 10000, idle: 10000,
acquire: 10000, acquire: 10000,
evict: 60000, evict: 60000,
handleDisconnects: true handleDisconnects: true
} }
``` ```
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!