mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-25 05:00:32 +03:00
Added documentation for putconn's close parameter
This commit is contained in:
parent
4fd5f3267b
commit
11ff27b5af
|
@ -26,10 +26,12 @@ directly into the client application.
|
|||
|
||||
Get a free connection and assign it to *key* if not `!None`.
|
||||
|
||||
.. method:: putconn(conn, key=None)
|
||||
.. method:: putconn(conn, key=None, close=False)
|
||||
|
||||
Put away a connection.
|
||||
|
||||
If *close* is `!True`, discard the connection from the pool.
|
||||
|
||||
.. method:: closeall
|
||||
|
||||
Close all the connections handled by the pool.
|
||||
|
|
Loading…
Reference in New Issue
Block a user