Skip to content

Commit ac4efac

Browse files
committed
Fix
1 parent 9ff16d8 commit ac4efac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/includes/fundamentals/code-examples/atlas-vector-search/VectorSearchQueryExample.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ private static void Setup()
4646
var camelCaseConvention = new ConventionPack { new CamelCaseElementNameConvention() };
4747
ConventionRegistry.Register("CamelCase", camelCaseConvention, type => true);
4848

49-
// Establish the connection to MongoDB and get the restaurants database
49+
// Establish the connection to MongoDB and get the embedded_movies database
5050
var mongoClient = new MongoClient(_mongoConnectionString);
51-
var restaurantsDatabase = mongoClient.GetDatabase("sample_mflix");
52-
collection = restaurantsDatabase.GetCollection<Movie>("embedded_movies");
51+
var movieDatabase = mongoClient.GetDatabase("sample_mflix");
52+
collection = movieDatabase.GetCollection<Movie>("embedded_movies");
5353
}
5454

5555
private static void BuildersExample()

0 commit comments

Comments
 (0)