4 Replies
do they actually change if you patch them or is it just types
(no bueno either way i'm guessing)
I think it's to support cases like
The behavior i believe is that _id and _creationTime are allowed but throw an error if they don't match the existing one
I haven't tested extensively but I think just the types.
That makes sense, although I'd expect
db.replace
to be intended for that use case, right?
Either way if it's expected/desired that sounds good, I just noticed it while testing my confect
version of the same, and wanted to understand the situationI agree it's a bit odd to use patch like this, yeah