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

Commit a33dbf3a by Felix Becker Committed by Mick Hansen

Don't override toString() in Model (#6092)

toString() should return the source of the class
1 parent 3ca87eb9
Showing with 0 additions and 4 deletions
......@@ -46,10 +46,6 @@ class Model {
return this.QueryInterface.QueryGenerator;
}
static toString() {
return '[object SequelizeModel:'+this.name+']';
}
// validateIncludedElements should have been called before this method
static _paranoidClause(model, options) {
options = options || {};
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!