Comparing version 1.1.47 to 1.1.48
@@ -147,3 +147,9 @@ 'use strict'; | ||
tablebase.prototype.getLogicColName = function(mapName) { return this._modelMap[mapName]; } | ||
/** | ||
* @desc: 使用字段的model名称获得字段的映射名称(真实名称). | ||
* @return: string; 找不到返回undefined. | ||
*/ | ||
tablebase.prototype.getRealColName = function(colName) { return this._model[colName].map; } | ||
/** | ||
@@ -150,0 +156,0 @@ * @desc: 条件构造对象,使用此对象可以在类型安全的情况下构造查询条件. |
@@ -54,3 +54,3 @@ { | ||
}, | ||
"version": "1.1.47" | ||
"version": "1.1.48" | ||
} |
@@ -354,2 +354,7 @@ // Type definitions for febs | ||
getLogicColName(mapName: string): string | undefined; | ||
/** | ||
* @desc: 使用字段的model名称获得字段的映射名称(真实名称). | ||
* @return: string; 找不到返回undefined. | ||
*/ | ||
getRealColName(colName): string | undefined; | ||
@@ -356,0 +361,0 @@ /** |
251142
4401