Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for vs (0.12 sec)

  1. docs/en/docs/how-to/sql-databases-peewee.md

    Now, finally, here's the standard **FastAPI** *path operations* code.
    
    ```Python hl_lines="32-37  40-43  46-53  56-62  65-68  71-79"
    {!../../../docs_src/sql_databases_peewee/sql_app/main.py!}
    ```
    
    ### 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
    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 (1)
Back to top