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

Commit eb9d232f by Tyler Committed by Pedro Augusto de Paula Barbosa

docs(dialect-specific): add MSSQL domain auth example (#11799)

1 parent 4bd2be8f
......@@ -95,6 +95,29 @@ const sequelize = new Sequelize('database', 'username', 'password', {
});
```
#### MSSQL Domain Account
In order to connect with a domain account, use the following format.
```js
const sequelize = new Sequelize('database', null, null, {
dialect: 'mssql',
dialectOptions: {
authentication: {
type: 'ntlm',
options: {
domain: 'yourDomain',
userName: 'username',
password: 'password'
}
},
options: {
instanceName: 'SQLEXPRESS'
}
}
})
```
## Data type: TIMESTAMP WITHOUT TIME ZONE - PostgreSQL only
If you are working with the PostgreSQL `TIMESTAMP WITHOUT TIME ZONE` and you need to parse it to a different timezone, please use the pg library's own parser:
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!