mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-07 23:02:12 +02:00
add
This commit is contained in:
parent
28402a310f
commit
827b6edfd1
@ -186,7 +186,7 @@ Result接口支持获取影响行数和LastInsertId(一般用于获取Insert
|
||||
|
||||
## 事务
|
||||
|
||||
kratos/pkg/database/sql包同样支持事务操作。
|
||||
kratos/pkg/database/sql包支持事务操作,具体操作示例如下:
|
||||
|
||||
开启一个事务:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user