将列添加到列集。
适用于
模型驱动应用
Syntax
context.parameters.dataset.addColumn(name, columnAlias)
参数
| 参数名称 | 类型 | 必选 | Description |
|---|---|---|---|
| 姓名 | string |
是的 | 列的名称。 对于链接实体连接链接实体别名和列名,例如: contact_alias.firstname |
| columnAlias | string |
否 | 列的别名。 |
返回值
类型:Promise
将列添加到列集。
模型驱动应用
context.parameters.dataset.addColumn(name, columnAlias)
| 参数名称 | 类型 | 必选 | Description |
|---|---|---|---|
| 姓名 | string |
是的 | 列的名称。 对于链接实体连接链接实体别名和列名,例如: contact_alias.firstname |
| columnAlias | string |
否 | 列的别名。 |
类型:Promise