.update()
Update a document
Parameter
Description
_id
The id of the document that will be updated
values
Values that will be updated
update({ _id }, values)
Or update a user from find: Using find() and update()
Using only find() and updating the data directly
Last updated