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

Commit a915f859 by overlookmotel

Code comments

1 parent e63314f1
Showing with 5 additions and 0 deletions
...@@ -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;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!