Is there any way to update bulk records. I am trying to update user object using following code:
.update($doc("_id" $in (usersIds: _*)), users, GetLastError(), false , true)
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 update
If i am using following code:
.update($doc("_id" $in (usersIds: _*)), $set("inviteStatus" $eq "Invited"), GetLastError(), false , true)
The record updated successfully.