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

Commit 67045660 by Jan Aagaard Meier

Merge pull request #2483 from overlookmotel/expose-sequelize.Sequelize

Sequelize.prototype.Sequelize
2 parents 498aa027 ee5446f3
Showing with 7 additions and 0 deletions
......@@ -203,6 +203,13 @@ module.exports = (function() {
Sequelize.options = {hooks: {}};
/**
* A reference to Sequelize constructor from sequelize. Useful for accessing DataTypes, Errors etc.
* @property Sequelize
* @see {Sequelize}
*/
Sequelize.prototype.Sequelize = Sequelize;
/**
* A reference to sequelize utilities. Most users will not need to use these utils directly. However, you might want to use `Sequelize.Utils._`, which is a reference to the lodash library, if you don't already have it imported in your project.
* @property Utils
* @see {Utils}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!