优化模型和高级模型的实现

This commit is contained in:
welefen 2014-06-16 17:34:57 +08:00
parent 5bcf336d44
commit 8432ff7d30

View File

@ -178,6 +178,7 @@ var Model = module.exports = Class(function(){
* @return Promise
*/
getTableFields: function(table, all){
this.initDb();
if (table === true) {
table = undefined;
all = true;