mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-26 10:49:20 +08:00
Update pgsql
This commit is contained in:
@@ -42,6 +42,10 @@ namespace SqlSugar
|
||||
{
|
||||
primaryKey = this.SqlBuilder.GetTranslationColumnName(primaryKey);
|
||||
}
|
||||
else if(result.Key?.EndsWith(" returning $PrimaryKey") ==true)
|
||||
{
|
||||
result=new KeyValuePair<string, List<SugarParameter>>( result.Key.Replace(" returning $PrimaryKey", null),result.Value);
|
||||
}
|
||||
return new KeyValuePair<string, List<SugarParameter>>(result.Key.Replace("$PrimaryKey", primaryKey), result.Value);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user