Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: TT-201 fix return None in orderBy condition
  • Loading branch information
kellycastrof committed Apr 3, 2021
commit ad2257afe1b6723e3a7dea99099dd26fdabd6954
2 changes: 2 additions & 0 deletions utils/query_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ def __build_limit(self):
def __build_order_By(self):
if self.orderBy:
return "ORDER BY c.@attribute @order"
else:
return ""

def build(self):
self.query = """
Expand Down