mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
-
This commit is contained in:
@@ -61,6 +61,10 @@ namespace SqlSugar
|
||||
{
|
||||
return (HasWhere?"AND":"WHERE")+ " ROWNUM=1";
|
||||
}
|
||||
else if (this.Context is PostgreSQLExpressionContext)
|
||||
{
|
||||
return "limit 1";
|
||||
}
|
||||
else
|
||||
{
|
||||
return "limit 0,1";
|
||||
|
Reference in New Issue
Block a user