This commit is contained in:
sunkaixuan
2018-12-03 00:42:17 +08:00
parent 8443581bac
commit 02e9568dda
5 changed files with 36 additions and 0 deletions

View File

@@ -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";