Firestore database. How to update the field value to "false" (above picture) in javascript?
Asked
Active
Viewed 192 times
0

Frank van Puffelen
- 565,676
- 79
- 828
- 807
-
1Please provide enough code so others can better understand or reproduce the problem. – Community Mar 25 '22 at 13:07
-
1Hi, could you please include in your question the code which you have tried. What are you using? Is it web v8 or web v9? – Marc Anthony B Mar 25 '22 at 13:47
-
You can't update an element in an array in Firestore. You will have to: 1. Load the document into your application code, 2. Update the array in your code, 3. Write the entire array back to the database. – Frank van Puffelen Mar 25 '22 at 13:54