Skip to content

Commit

Permalink
Sync documentation of main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 29, 2024
1 parent e010774 commit b22441e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _versions/main/guides/mongodb-panache.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ List<String> namesButEmmanuels = persons
.collect(Collectors.toList());
----

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.
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.

=== Adding entity methods

Expand Down Expand Up @@ -410,7 +410,7 @@ List<String> namesButEmmanuels = persons
.collect(Collectors.toList());
----

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.
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.

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

0 comments on commit b22441e

Please sign in to comment.