...

/

Exercise: Update Movie Reviews

Exercise: Update Movie Reviews

Practice updating a document in MongoDB using the Go API.

Problem Statement

Updating a document is a basic operation in a MongoDB project. This exercise tests your knowledge of updating a document in the collection.

Suppose a reviewer, Alice, has changed their mind about a specific movie. They need help to update their review.

The review model

package models

import (
	"time"

	"go.mongodb.org/mongo-dr
...