Bug 1543836 Comment 1 Edit History

Note: The actual edited comment in the bug view page will always show the original commentor’s name and original timestamp.

Multiplexing deletion on `putMany` sounds a bit confusing to me, the consumer could also delete items inadvertently. FWIW, the current implementation treats 'null' as the invalid value thus will not finish the bulk insert.

Wonder if we can add a new API, say `writeMany()`, that can handle both put and delete with the argument proposed above.

We could still provide consumers with `putMany` and `deleteMany` on top it for the better ergonomics.
Multiplexing deletion on `putMany` sounds a bit confusing to me, the consumer could also delete items inadvertently. FWIW, the current implementation treats 'null' as the invalid value thus will not finish the bulk insert.

Wonder if we can add a new API, say `writeMany()`, that can handle both put and delete with the argument proposed above.

We could still provide consumers with `putMany` and `deleteMany` on top of it for the better ergonomics.

Back to Bug 1543836 Comment 1