Skip to content

Commit 14ab401

Browse files
committed
docs fix
1 parent 9ed48d1 commit 14ab401

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,10 @@ This is why `db_session` and other functions accept `DBConnect` as input.
224224
This way, you can work with multiple hosts simultaneously,
225225
for example, with the master and the replica.
226226

227-
228-
Let's imagine that you have a third-party functionality that helps determine
229-
the master or replica.
227+
libpq can detect the master and replica to create an engine. However, it only
228+
does this once during creation. This handler helps change the host on the fly
229+
if the master or replica changes. Let's imagine that you have a third-party
230+
functionality that helps determine the master or replica.
230231

231232
In this example, the host is not set from the very beginning, but will be
232233
calculated during the first call to create a session.

0 commit comments

Comments
 (0)