Skip to content

Commit

Permalink
WIP Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: Georgios Andrianakis <[email protected]>
  • Loading branch information
loicmathieu and geoand authored Apr 10, 2020
1 parent 11956d4 commit 88323ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/mongodb-panache.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ TIP: You can have your projection class extends from another class. In this case

== Query debugging

As MongoDB with Panache allow writing simplified queries, it is sometimes handy to log the generated native queries for debugging purpose.
As MongoDB with Panache allows writing simplified queries, it is sometimes handy to log the generated native queries for debugging purpose.

This can be achieved by setting to DEBUG the following log category inside your `application.properties`:

Expand Down
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/mongodb.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@ If the name is omitted, it configures the default client.

[NOTE]
====
Using multiple MongoDB clients allow to implements multi-tenancy for MongoDB by allowing to connect to multiple MongoDB clusters. +
The use of multiple MongoDB clients enables multi-tenancy for MongoDB by allowing to connect to multiple MongoDB clusters. +
If you want to connect to multiple databases inside the same cluster,
you can use the same client as a client is able to access all databases on the same cluster
multiple clients are **not** necessary as a single client is able to access all databases in the same cluster
(like a JDBC connection is able to access to multiple schemas inside the same database).
====

Expand Down

0 comments on commit 88323ff

Please sign in to comment.