- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SELECT (0.18 sec)
-
docs/en/docs/how-to/sql-databases-peewee.md
``` ### About `def` vs `async def` The same as with SQLAlchemy, we are not doing something like: ```Python user = await models.User.select().first() ``` ...but instead we are using: ```Python user = models.User.select().first() ``` So, again, we should declare the *path operation functions* and the dependency without `async def`, just with a normal `def`, as:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 16 13:23:25 GMT 2024 - 23.6K bytes - Viewed (0) -
docs/em/docs/how-to/sql-databases-peewee.md
{!../../../docs_src/sql_databases_peewee/sql_app/main.py!} ``` ### đ `def` đ `async def` đ âŽī¸ đ¸đ˛, đĨ đĢ đ¨ đŗ đ: ```Python user = await models.User.select().first() ``` ...âī¸ âŠī¸ đĨ âī¸: ```Python user = models.User.select().first() ``` , đ, đĨ đ đŖ *⥠đ ī¸ đĸ* & đ đĩ `async def`, âŽī¸ đ `def`,: ```Python hl_lines="2" # Something goes here
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 19.2K bytes - Viewed (0)