This commit is contained in:
cpwu 2022-04-25 19:09:21 +08:00
parent dd3674cae0
commit b5ac628aa0
1 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,8 @@ class TDTestCase:
return upper_condition
def __where_condition(self, col):
return f" where count({col}) > 0 "
# return f" where count({col}) > 0 "
return ""
def __group_condition(self, col, having = ""):
return f" group by {col} having {having}" if having else f" group by {col} "