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 a915f859
authored
Sep 08, 2016
by
overlookmotel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code comments
1 parent
e63314f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
lib/sequelize.js
lib/sequelize.js
View file @
a915f85
...
@@ -1033,6 +1033,11 @@ class Sequelize {
...
@@ -1033,6 +1033,11 @@ class Sequelize {
return
res
;
return
res
;
}
}
/*
* Getter/setter for `Sequelize.cls`
* To maintain backward compatibility with Sequelize v3.x
* Calling the
*/
static
get
cls
()
{
static
get
cls
()
{
Utils
.
deprecate
(
'Sequelize.cls is deprecated and will be removed in a future version. Keep track of the CLS namespace you use in your own code.'
);
Utils
.
deprecate
(
'Sequelize.cls is deprecated and will be removed in a future version. Keep track of the CLS namespace you use in your own code.'
);
return
this
.
_cls
;
return
this
.
_cls
;
...
...
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