mirror of
https://github.com/thinkjs/thinkjs.git
synced 2026-01-25 14:42:47 +00:00
优化模型和高级模型的实现
This commit is contained in:
parent
5bcf336d44
commit
8432ff7d30
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user