You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In above code i am passing, users List. in user list i also add new properties and chage existing properties state, but with this statement the records are not updade
What do you want to achieve? I understand that you have a list of users. And you want to update them at once with the corresponding user instance in the list? I am afraid this is not possible with one query. You can only pass the same document or update operator to a query. So you need to call update for each user in the list.
Is there any way to update bulk records. I am trying to update user object using following code:
In above code i am passing,
users
List. in user list i also add new properties and chage existing properties state, but with this statement the records are not updadeIf i am using following code:
The record updated successfully.
The text was updated successfully, but these errors were encountered: