(In reply to Myk Melez [:myk] [@mykmelez] from comment #1)
Agreed, both bulk insert and drop would be useful. Is bulk insert different from the support for transactions requested in bug 1499238?
Yes, they are related. I was actually commenting this feature request in bug 1499238 first, but then realized that this might want a separate bug on its own.
To implement bulk insert, presumably we will be using cursor plus a write transaction. We can still hide this implementation detail in the kvstore without exposing the transaction to the user at all. And I believe it's better for now than letting the consumers do so with a transaction. I quite like the current API design in kvstore.jsm, it's neat, also hides the unnecessary complexity for the regular uses.
Still trying to wrap my head into this XPCom, hopefully, I can at least help to review some patches, or even better hack on it directly :-)