-
Hi,@wu-clan However, an early commit refresh in the same transaction will return an exception.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
sqlalchemy forbids this in asynchrony unless you put them in the same transaction, as in the paging interface, which transfers a db parameter instead of using the context manager |
Beta Was this translation helpful? Give feedback.
-
solved Use db.flush() to flush to the database, but do not commit, keep the transaction |
Beta Was this translation helpful? Give feedback.
solved
Use db.flush() to flush to the database, but do not commit, keep the transaction