Seperate collection and document level operations respectively. #7459
Unanswered
p4-k4
asked this question in
Feature request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, does anyone feel there is a crossover between collection and document level operations respectively?
For example:
As above, we're calling the
delete()
method on the document level. which I'm struggling to come to grips with.I would expect this to be a collection level operation, not a document level operation as it is above. Reason being - a document exists within a collection but we cannot have a document existing within a document.
I'd also expect that implementation resembles:
Much like how a field exists within a document.
This makes absolute sense to me.
My proposal is that there is improved distinction between document and collection operations. My hope is that this would also reflect in how we implement these operations/methods.
Cheers
Beta Was this translation helpful? Give feedback.
All reactions