Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

How to save subdocument withought overwriting the existing sub document data? #120

Open
ptheofan opened this issue Jul 10, 2013 · 0 comments

Comments

@ptheofan
Copy link

Hi, excuse my question if it sounds trivial, but I'm trying to figure out how to save a subdocument withought overwriting the existing subdocument data whilst the data were not fetched.

I have tried with doc->sub1->sub2 = new Document() but it unfortunately overrides the existing data. Is there any way I can do that operation whithought having to fetch the subdocument in the first place?

Pretty thanks :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant