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

Commit 69d8eb65 by Jan Aagaard Meier

Accidentally removed dao.queryinterface, stupid

1 parent 83ce147d
Showing with 4 additions and 0 deletions
......@@ -63,6 +63,10 @@ module.exports = (function() {
get: function(){ return this.Model.daoFactoryManager.sequelize }
})
Object.defineProperty(DAO.prototype, 'QueryInterface', {
get: function(){ return this.sequelize.getQueryInterface() }
})
/**
* If timestamps and paranoid are enabled, returns whether the deletedAt timestamp of this instance is set. Otherwise, always returns false.
* @property isDeleted
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!