Commit 4b37d30c authored by takatost's avatar takatost

modify readme

parent 59ba7917
...@@ -14,7 +14,7 @@ Examples: ...@@ -14,7 +14,7 @@ Examples:
db.session.commit() db.session.commit()
db.session.refresh(app) # Retrieve table default values, like created_at, cached in the app object, won't affect after close 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() db.session.close()
...@@ -29,6 +29,9 @@ Examples: ...@@ -29,6 +29,9 @@ Examples:
created_at = app.created_at created_at = app.created_at
db.session.close() db.session.close()
# Handle tasks (include long-running).
``` ```
3. Updating a table field: 3. Updating a table field:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment