mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 修复 pgsql OnConflictDoUpdate 临时主键问题;#1393
This commit is contained in:
@ -109,6 +109,7 @@ namespace FreeSql.KingbaseES
|
||||
{
|
||||
sb.Append(") DO UPDATE SET\r\n");
|
||||
|
||||
if (_update._tempPrimarys.Any() == false) _update._tempPrimarys = _tempPrimarys;
|
||||
var sbSetEmpty = _update.InternalSbSet.Length == 0;
|
||||
var sbSetIncrEmpty = _update.InternalSbSetIncr.Length == 0;
|
||||
if (sbSetEmpty == false || sbSetIncrEmpty == false)
|
||||
|
Reference in New Issue
Block a user