- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 252 for db (0.03 sec)
-
docs/zh/docs/tutorial/sql-databases.md
```Python user = await db.query(User).first() ``` ...相反,我们可以使用: ```Python user = db.query(User).first() ``` 然后我们应该声明*路径操作函数*和不带 的依赖关系`async def`,只需使用普通的`def`,如下: ```Python hl_lines="2" @app.get("/users/{user_id}", response_model=schemas.User) def read_user(user_id: int, db: Session = Depends(get_db)): db_user = crud.get_user(db, user_id=user_id) ... ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 27.1K bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/dependencies-with-yield.md
opt raise dep -->> handler: Raise HTTPException handler -->> client: HTTP error response dep -->> dep: Raise other exception end dep ->> operation: Run dependency, e.g. DB session opt raise operation -->> dep: Raise HTTPException dep -->> handler: Auto forward exception handler -->> client: HTTP error response operation -->> dep: Raise other exception
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.6K bytes - Viewed (0) -
src/main/resources/fess_message_ru.properties
# - - - - - - - - - -/ errors.login.failure=Login failed. errors.app.illegal.transition=Please retry because of illegal transition. errors.app.db.already.deleted=others might be updated, so retry. errors.app.db.already.updated=others might be updated, so retry. errors.app.db.already.exists=already existing data, so retry. errors.app.double.submit.request=Your request might have been processed before this request. Please check and retry it.
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri May 20 12:12:28 UTC 2022 - 10.2K bytes - Viewed (0) -
dbflute_fess/dfprop/outsideSqlMap.dfprop
# e.g. list:{prefix:SP_} # And you can specify procedures through DB link. # This is treated as additional setting # so it is independent from specifications for main schema. # e.g. SP_FOO@NEXT_LINK (when DB link name is 'NEXT_LINK') # #; targetProcedureNameList = list:{FOO_PROCEDURE ; prefix:FOO_ ; suffix:_FOO ; contain:_FOO_}
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Jul 25 06:04:16 UTC 2015 - 8K bytes - Viewed (0) -
src/main/resources/fess_env_suggest.properties
mail.return.path = root@localhost # ======================================================================================== # DB # ==== # ========================================================================================
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jan 29 07:34:32 UTC 2018 - 2.2K bytes - Viewed (0) -
docs_src/sql_databases/tutorial001_an.py
id: Union[int, None] = Field(default=None, primary_key=True) name: str = Field(index=True) age: Union[int, None] = Field(default=None, index=True) secret_name: str sqlite_file_name = "database.db" sqlite_url = f"sqlite:///{sqlite_file_name}" connect_args = {"check_same_thread": False} engine = create_engine(sqlite_url, connect_args=connect_args) def create_db_and_tables():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/armerror.s
MOVM.IB (F1), [R0-R4] // ERROR "illegal base register" MOVM.DB (F1), [R0-R4] // ERROR "illegal base register" MOVM.IA [R0-R4], (F1) // ERROR "illegal base register" MOVM.DA [R0-R4], (F1) // ERROR "illegal base register" MOVM.IB [R0-R4], (F1) // ERROR "illegal base register" MOVM.DB [R0-R4], (F1) // ERROR "illegal base register" MOVW R0<<0(F1), R1 // ERROR "illegal base register"
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 23 15:18:14 UTC 2024 - 14.5K bytes - Viewed (0) -
docs_src/sql_databases/tutorial001.py
id: Union[int, None] = Field(default=None, primary_key=True) name: str = Field(index=True) age: Union[int, None] = Field(default=None, index=True) secret_name: str sqlite_file_name = "database.db" sqlite_url = f"sqlite:///{sqlite_file_name}" connect_args = {"check_same_thread": False} engine = create_engine(sqlite_url, connect_args=connect_args) def create_db_and_tables():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 1.8K bytes - Viewed (0) -
docs_src/sql_databases/tutorial001_py310.py
id: int | None = Field(default=None, primary_key=True) name: str = Field(index=True) age: int | None = Field(default=None, index=True) secret_name: str sqlite_file_name = "database.db" sqlite_url = f"sqlite:///{sqlite_file_name}" connect_args = {"check_same_thread": False} engine = create_engine(sqlite_url, connect_args=connect_args) def create_db_and_tables():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 1.7K bytes - Viewed (0) -
docs_src/sql_databases/tutorial001_py39.py
id: Union[int, None] = Field(default=None, primary_key=True) name: str = Field(index=True) age: Union[int, None] = Field(default=None, index=True) secret_name: str sqlite_file_name = "database.db" sqlite_url = f"sqlite:///{sqlite_file_name}" connect_args = {"check_same_thread": False} engine = create_engine(sqlite_url, connect_args=connect_args) def create_db_and_tables():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 1.8K bytes - Viewed (0)