Skip to content

Commit 0d3fee5

Browse files
authored
Merge pull request #45305 from MaciejDromin/mongodb-panache-sentence-fix
Docs: Correct sentence in Simplified MongoDB with Panache
2 parents df371c2 + 7cc9849 commit 0d3fee5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/main/asciidoc/mongodb-panache.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ List<String> namesButEmmanuels = persons
242242
.collect(Collectors.toList());
243243
----
244244

245-
NOTE: A `persistOrUpdate()` method exist that persist or update an entity in the database, it uses the __upsert__ capability of MongoDB to do it in a single query.
245+
NOTE: A `persistOrUpdate()` method persists or updates an entity in the database, it uses the __upsert__ capability of MongoDB to do it in a single query.
246246

247247
=== Adding entity methods
248248

@@ -410,7 +410,7 @@ List<String> namesButEmmanuels = persons
410410
.collect(Collectors.toList());
411411
----
412412

413-
NOTE: A `persistOrUpdate()` method exist that persist or update an entity in the database, it uses the __upsert__ capability of MongoDB to do it in a single query.
413+
NOTE: A `persistOrUpdate()` method persists or updates an entity in the database, it uses the __upsert__ capability of MongoDB to do it in a single query.
414414

415415
NOTE: The rest of the documentation show usages based on the active record pattern only,
416416
but keep in mind that they can be performed with the repository pattern as well.

0 commit comments

Comments
 (0)