Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要更新项目类型的所有实例(例如 Employee),但我不想使用uid[unique=true]?
uid[unique=true]
使用修饰符可以做到这一点[batchmode=true]。因为您仍然必须包含一个唯一属性,所以您必须设置将要更新的项目。
[batchmode=true]
UPDATE Employee[batchmode=true];itemtype(code)[unique=true];myAttribute ;Employee;""