From 751489fa547487bd521e4aa3a6bc297b577a2511 Mon Sep 17 00:00:00 2001 From: takatost Date: Sun, 10 Mar 2024 18:01:55 +0800 Subject: [PATCH] modify readme --- api/core/app/apps/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api/core/app/apps/README.md b/api/core/app/apps/README.md index a59c424a15..856690dc57 100644 --- a/api/core/app/apps/README.md +++ b/api/core/app/apps/README.md @@ -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: