0

我需要更新项目类型的所有实例(例如 Employee),但我不想使用uid[unique=true]?

4

1 回答 1

2

使用修饰符可以做到这一点[batchmode=true]。因为您仍然必须包含一个唯一属性,所以您必须设置将要更新的项目。

UPDATE Employee[batchmode=true];itemtype(code)[unique=true];myAttribute
;Employee;""
于 2021-08-30T12:10:29.863 回答