Skip to content

Commit 7cc9849

Browse files
committed
Docs: Correct sentence in Simplified MongoDB with Panache
Signed-off-by: Maciej Lisowski <[email protected]>
1 parent df371c2 commit 7cc9849

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)