-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix]pgsql 在进行 InsertAndGetIdentity 时,不能固定写死 RETURNING id,因为自增列名称是不固定…
…的。正确的做法是将自增列通过参数传递进来,但对代码的调整较大。故参照人大金仓的实现,使用 RETURNING * 。
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters