- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for refresh (0.15 sec)
-
docs/zh/docs/tutorial/sql-databases.md
### 创建数据 现在创建实用程序函数来创建数据。 它的步骤是: * 使用您的数据创建一个 SQLAlchemy 模型*实例。* * 使用`add`来将该实例对象添加到您的数据库。 * 使用`commit`来对数据库的事务提交(以便保存它们)。 * 使用`refresh`来刷新您的数据库实例(以便它包含来自数据库的任何新数据,例如生成的 ID)。 ```Python hl_lines="18-24 31-36" {!../../../docs_src/sql_databases/sql_app/crud.py!} ``` !!! tip SQLAlchemy 模型`User`包含一个`hashed_password`,它应该是一个包含散列的安全密码。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 27K bytes - Viewed (0) -
docs/em/docs/tutorial/sql-databases.md
### ✍ 💽 🔜 ✍ 🚙 🔢 ✍ 💽. 🔁: * ✍ 🇸🇲 🏷 *👐* ⏮️ 👆 📊. * `add` 👈 👐 🎚 👆 💽 🎉. * `commit` 🔀 💽 (👈 👫 🖊). * `refresh` 👆 👐 (👈 ⚫️ 🔌 🙆 🆕 📊 ⚪️➡️ 💽, 💖 🏗 🆔). ```Python hl_lines="18-24 31-36" {!../../../docs_src/sql_databases/sql_app/crud.py!} ``` !!! tip 🇸🇲 🏷 `User` 🔌 `hashed_password` 👈 🔜 🔌 🔐 #️⃣ ⏬ 🔐.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 25.2K bytes - Viewed (1) -
docs/en/docs/tutorial/sql-databases.md
The steps are: * Create a SQLAlchemy model *instance* with your data. * `add` that instance object to your database session. * `commit` the changes to the database (so that they are saved). * `refresh` your instance (so that it contains any new data from the database, like the generated ID). ```Python hl_lines="18-24 31-36" {!../../../docs_src/sql_databases/sql_app/crud.py!} ``` !!! info
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)