Skip to content

Commit

Permalink
移除Any sql分号;
Browse files Browse the repository at this point in the history
  • Loading branch information
zqlovejyc committed Mar 23, 2022
1 parent e3da943 commit c83c6f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SQLBuilder/Repositories/BaseRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2525,7 +2525,7 @@ public virtual async Task<int> UpdateAsync<T>(Expression<Func<T, bool>> predicat
/// 获取Any对应的sql语句
/// </summary>
/// <returns></returns>
public virtual string GetAnySql() => "SELECT CASE WHEN EXISTS ({0}) THEN 1 ELSE 0 END;";
public virtual string GetAnySql() => "SELECT CASE WHEN EXISTS ({0}) THEN 1 ELSE 0 END";

/// <summary>
/// 是否存在任意一个满足查询条件的实体
Expand Down

0 comments on commit c83c6f6

Please sign in to comment.