cookbook:alphaprime
差别
这里会显示出您选择的修订版和当前版本之间的差别。
| cookbook:alphaprime [2021/09/26 11:10] – 创建 plough | cookbook:alphaprime [2021/12/03 14:15] (当前版本) – plough | ||
|---|---|---|---|
| 行 11: | 行 11: | ||
| < | < | ||
| node update-apis.js | node update-apis.js | ||
| + | </ | ||
| + | |||
| + | ===== 定义嵌套的复杂字段(array of pojo) ===== | ||
| + | 举例: | ||
| + | unique-key.yaml: | ||
| + | < | ||
| + | name: UniqueKey | ||
| + | type: pojo | ||
| + | fields: | ||
| + | cols: | ||
| + | type: array | ||
| + | item: string | ||
| + | </ | ||
| + | 在 entity.yaml 中使用: | ||
| + | < | ||
| + | uniqueKeys: | ||
| + | type: array | ||
| + | item: | ||
| + | type: pojo | ||
| + | from: ./ | ||
| </ | </ | ||
cookbook/alphaprime.1632625851.txt.gz · 最后更改: 2021/09/26 11:10 由 plough