-
Notifications
You must be signed in to change notification settings - Fork 26.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need support to Update elements in an array in document in Cloud FireStore #20688
Comments
Anyone have any idea ? |
Looks like flutter/plugins#760 is supposed to fix that. |
@shashkiranr this has landed. Is this still an issue? |
this looks fine to me, doesn't have the same update method though, flutter has an updateData method which is taking a map:
|
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away! |
is this a problem? |
@zoechi for me this was not intuitive. If you look at the Update a document examples in this page, all the language examples are using
|
Ok, then lets reopen and let the plugin maintainer decide. |
This issue has been moved to firebase/flutterfire#702. Any further collaboration will be done there. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Hi,
I could not update array in Cloud FireStore using flutter. Is there any workaround for this?
Currently I am retrieving all the array values and updating the array field. The
updateData
changes the entire array and not individual values. NeedFieldValue.arrayUnion
andFieldValue.arrayRemove
support.The text was updated successfully, but these errors were encountered: