Skip to content

Commit c8deb82

Browse files
committed
update docs
1 parent 10a70b5 commit c8deb82

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/blog/operator.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ def set_updated_by(orm_statement: ORMExecuteState) -> None:
7575
```
7676

7777
::: warning
78+
before_insert 事件需配合 `flush()` 才能触发!
79+
7880
事件监听条件要求严格,如果监听事件未按预期执行,参考:[sqlalchemy#12724](https://github.com/sqlalchemy/sqlalchemy/discussions/12724)
7981
:::
8082

0 commit comments

Comments
 (0)