* Update a single item by primary key. * * Uses `this.updateMany` under the hood.
(key: PrimaryKey, data: Partial<Item>, opts?: MutationOptions)
| 664 | * Uses `this.updateMany` under the hood. |
| 665 | */ |
| 666 | async updateOne(key: PrimaryKey, data: Partial<Item>, opts?: MutationOptions): Promise<PrimaryKey> { |
| 667 | await this.updateMany([key], data, opts); |
| 668 | return key; |
| 669 | } |
| 670 | |
| 671 | /** |
| 672 | * Update multiple items in a single transaction. |
no test coverage detected