Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 31 of 31 for commits (0.16 sec)

  1. docs/en/docs/tutorial/sql-databases.md

    ### Create data
    
    Now create utility functions to create data.
    
    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"
    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)
Back to top