]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commit
:card_file_box: Close the DB even if exceptions are raised (#89)
authorAlex Iribarren <alex.iribarren@gmail.com>
Sun, 31 Mar 2019 18:01:32 +0000 (20:01 +0200)
committerSebastián Ramírez <tiangolo@gmail.com>
Sun, 31 Mar 2019 18:01:32 +0000 (22:01 +0400)
commit1426b6200a12b83cc1e362adab70d7153f30c7f6
tree5a8d19bfa60a37c12b7075fd75f80b04325295f2
parent40e5f3764e477084e24b75b59bd5a9c58b21ab0b
:card_file_box: Close the DB even if exceptions are raised (#89)

* Close the DB even if exceptions are raised

* :memo: Add note about closing DB in finally
docs/src/sql_databases/tutorial001.py
docs/tutorial/sql-databases.md