pg-mvc-service 2.0.47 → 2.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -209,7 +209,7 @@ class TableModel {
|
|
|
209
209
|
* @param toValue NULLの場合に変換する値。
|
|
210
210
|
* @param alias 結果セットで使用するエイリアス名。
|
|
211
211
|
*/
|
|
212
|
-
|
|
212
|
+
selectNullToValue(columnInfo, toValue, alias) {
|
|
213
213
|
this.vars.push(toValue);
|
|
214
214
|
if (typeof columnInfo === 'string') {
|
|
215
215
|
columnInfo = { name: columnInfo, model: this };
|
package/package.json
CHANGED
package/src/models/TableModel.ts
CHANGED
|
@@ -246,7 +246,7 @@ export class TableModel {
|
|
|
246
246
|
* @param toValue NULLの場合に変換する値。
|
|
247
247
|
* @param alias 結果セットで使用するエイリアス名。
|
|
248
248
|
*/
|
|
249
|
-
public
|
|
249
|
+
public selectNullToValue(columnInfo: string | {name: string, model: TableModel}, toValue: any, alias: string) {
|
|
250
250
|
this.vars.push(toValue);
|
|
251
251
|
|
|
252
252
|
if (typeof columnInfo === 'string') {
|