Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit 16922368
authored
Jan 02, 2015
by
Chris White
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add MSSQL to usage doc
1 parent
f44ff32f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
docs/docs/usage.md
docs/docs/usage.md
View file @
1692236
...
...
@@ -213,6 +213,16 @@ var sequelize = new Sequelize('database', 'username', 'password', {
})
```
### MSSQL
The library for MSSQL is
`tedious@^1.7.0`
You'll just need to define the dialect
:
```
js
var
sequelize
=
new
Sequelize
(
'database'
,
'username'
,
'password'
,
{
dialect
:
'mssql'
})
```
## Executing raw SQL queries
As there are often use cases in which it is just easier to execute raw
/
already prepared SQL queries
,
you can utilize the function
`sequelize.query`
.
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment