- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Exported (1.47 sec)
-
docs/en/docs/tutorial/sql-databases.md
We name it `SessionLocal` to distinguish it from the `Session` we are importing from SQLAlchemy. We will use `Session` (the one imported from SQLAlchemy) later. To create the `SessionLocal` class, use the function `sessionmaker`: ```Python hl_lines="11" {!../../../docs_src/sql_databases/sql_app/database.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 29.6K bytes - Viewed (0)