傳回指定資料表的資料表定義。
適用於
模型導向應用程式
語法
context.utils.getEntityMetadata(entityName, attributes)
參數
| 參數名稱 | 類型 | 為必填項目 | Description |
|---|---|---|---|
| entityName | String |
Yes | 資料表的邏輯名稱。 |
| attributes | String[] |
否 | 要取得中繼資料的資料行。 |
傳回值
類型:Promise<EntityMetadata>
傳回指定資料表的資料表定義。
模型導向應用程式
context.utils.getEntityMetadata(entityName, attributes)
| 參數名稱 | 類型 | 為必填項目 | Description |
|---|---|---|---|
| entityName | String |
Yes | 資料表的邏輯名稱。 |
| attributes | String[] |
否 | 要取得中繼資料的資料行。 |
類型:Promise<EntityMetadata>