mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-26 18:59:17 +08:00
Update pgsql
This commit is contained in:
@@ -42,6 +42,10 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
primaryKey = this.SqlBuilder.GetTranslationColumnName(primaryKey);
|
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);
|
return new KeyValuePair<string, List<SugarParameter>>(result.Key.Replace("$PrimaryKey", primaryKey), result.Value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user