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

Commit 614f8dd5 by Sascha Depold

added placeholder functions for save and destroy

1 parent e35c0175
Showing with 7 additions and 2 deletions
var Utils = require("./utils") var Utils = require("./utils")
, Mixin = require("./associations") , Mixin = require("./association-mixin")
/* /*
Defines the connection between data and the sql table. Defines the connection between data and the sql table.
...@@ -25,7 +25,12 @@ var classMethods = { ...@@ -25,7 +25,12 @@ var classMethods = {
} }
var instanceMethods = { var instanceMethods = {
save: function() {
},
destroy: function() {
}
} }
Utils._.map(classMethods, function(fct, name) { Model[name] = fct }) Utils._.map(classMethods, function(fct, name) { Model[name] = fct })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!