]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Consolidate connection customization documentation
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 6 Jul 2020 15:11:54 +0000 (11:11 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 6 Jul 2020 15:16:06 +0000 (11:16 -0400)
commitc8c52a3436f1a10599a651b8b0f55ca26cc05773
treefacd342ed0dc862937e22e651e0f286d055f2c35
parent209b1a7d3c01dfd281b536fbf9e918d7efd30985
Consolidate connection customization documentation

1. move all discussion of how to customize connection
to the engines.rst section.   have the section in pooling.rst
point to engines.

2. ensure all of the common use cases for connection modification
are listed out in order of level of modification.   the use
case of modifying an existing connection is separate from that of
modifying how connect is called; ensure that poolevents.connect
is referred to just as prominently as dialectevents.do_connect.

3. completely replace any discussion of create_engine.creator, as this
hook does not offer anything beyond what do_connect() does.
"creator" is more about using a Pool object directly without an
Engine, which is no longer a documented use case.

Change-Id: Ibe366d2a6e63eb420a6136fdc71ce0fb545edf8f
(cherry picked from commit b5c4a4cbe632e7dfa243121377a4a8d73b4da1ab)
doc/build/core/engines.rst
doc/build/core/pooling.rst