From 88323ff0af9f8a1fff0128aef0dfceb8e5d0822b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Mathieu?= Date: Fri, 10 Apr 2020 10:45:45 +0200 Subject: [PATCH] WIP Apply suggestions from code review Co-Authored-By: Georgios Andrianakis --- docs/src/main/asciidoc/mongodb-panache.adoc | 2 +- docs/src/main/asciidoc/mongodb.adoc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/main/asciidoc/mongodb-panache.adoc b/docs/src/main/asciidoc/mongodb-panache.adoc index b2b2651dc3a000..474dc668c89bd6 100644 --- a/docs/src/main/asciidoc/mongodb-panache.adoc +++ b/docs/src/main/asciidoc/mongodb-panache.adoc @@ -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`: diff --git a/docs/src/main/asciidoc/mongodb.adoc b/docs/src/main/asciidoc/mongodb.adoc index b27bf8d2de9759..6341f30cfbcf94 100644 --- a/docs/src/main/asciidoc/mongodb.adoc +++ b/docs/src/main/asciidoc/mongodb.adoc @@ -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). ====