- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for KSession (0.12 sec)
-
docs/em/docs/tutorial/sql-databases.md
### ✍ `SessionLocal` 🎓 🔠 👐 `SessionLocal` 🎓 🔜 💽 🎉. 🎓 ⚫️ 🚫 💽 🎉. ✋️ 🕐 👥 ✍ 👐 `SessionLocal` 🎓, 👉 👐 🔜 ☑ 💽 🎉. 👥 📛 ⚫️ `SessionLocal` 🔬 ⚫️ ⚪️➡️ `Session` 👥 🏭 ⚪️➡️ 🇸🇲. 👥 🔜 ⚙️ `Session` (1️⃣ 🗄 ⚪️➡️ 🇸🇲) ⏪. ✍ `SessionLocal` 🎓, ⚙️ 🔢 `sessionmaker`: ```Python hl_lines="11" {!../../../docs_src/sql_databases/sql_app/database.py!} ``` ### ✍ `Base` 🎓
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 25.2K bytes - Viewed (0) -
docs/zh/docs/tutorial/sql-databases.md
### 创建一个`SessionLocal`类 每个`SessionLocal`类的实例都会是一个数据库会话。当然该类本身还不是数据库会话。 但是一旦我们创建了一个`SessionLocal`类的实例,这个实例将是实际的数据库会话。 我们将它命名为`SessionLocal`是为了将它与我们从 SQLAlchemy 导入的`Session`区别开来。 稍后我们将使用`Session`(从 SQLAlchemy 导入的那个)。 要创建`SessionLocal`类,请使用函数`sessionmaker`: ```Python hl_lines="11" {!../../../docs_src/sql_databases/sql_app/database.py!} ``` ### 创建一个`Base`类
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue May 07 21:00:22 UTC 2024 - 27.3K bytes - Viewed (0) -
docs/en/docs/tutorial/sql-databases.md
### Create a `SessionLocal` class Each instance of the `SessionLocal` class will be a database session. The class itself is not a database session yet. But once we create an instance of the `SessionLocal` class, this instance will be the actual database session.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 29.6K bytes - Viewed (0)