Closed Shir0kamii closed 6 years ago
:+1:
After thinking a bit more about it, I replaced it with a force_insert
parameter for save
, that has the exact same purpose (see 453f2d62f28fbfb645e510b928dd540d34b3b04e). I don't like the idea of having two different semantics that can potentially do the same thing, and I don't want to distinguish the two functionally neither because it would make the API harder to understand without any gain.
A
create
method would be fine when you want to be sure the document will be inserted and not upserted as with thesave
method.