modify readme

This commit is contained in:
takatost 2024-03-10 18:01:55 +08:00
parent 59ba7917c4
commit 4b37d30c0d
1 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,7 @@ Examples:
db.session.commit()
db.session.refresh(app) # Retrieve table default values, like created_at, cached in the app object, won't affect after close
# Process related app logic
# Handle non-long-running tasks or store the content of the App instance in memory (via variable assignment).
db.session.close()
@ -29,6 +29,9 @@ Examples:
created_at = app.created_at
db.session.close()
# Handle tasks (include long-running).
```
3. Updating a table field: