所有命令 · internal
pm item mutate
Apply SDK-backed mutations atomically.
Apply SDK-backed mutations atomically.
用法
pm item mutate [options]选项
| --transaction-id <value> | Stable idempotency key used to resume an interrupted batch; derived from the document when omitted | 可选 |
|---|---|---|
| --stdin-json | Read the JSON mutation array from stdin | 可选 |
| --from <path> | Read the JSON, JSON Lines, or envelope document from a file (- for stdin) | 可选 |
| --upsert-key <field> | Update the existing item whose field matches instead of creating a duplicate | 可选 |
| --dry-run | Validate and preview the batch without writing | 可选 |
| --create-compensation <mode> | Created-item compensation policy: close or delete | 可选 |
| --lock-ttl-seconds <n> | Workspace transaction lock lifetime in seconds | 可选 |
| --lock-wait-ms <n> | Maximum time to wait for the workspace transaction lock | 可选 |
| --author <value> | Mutation author | 可选 |
示例
pm item mutate --help