]> 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:11:54 +0000 (11:11 -0400)
commitb5c4a4cbe632e7dfa243121377a4a8d73b4da1ab
tree783402ce0033f41d7a5139b54e3cf8c4dfa880d1
parentc6c9d5f925e4418c10c93c47fef53200dca11f00
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
doc/build/core/engines.rst
doc/build/core/pooling.rst