Skip to content

Commit

Permalink
Add splitting space before the rest of the query
Browse files Browse the repository at this point in the history
  • Loading branch information
wwahammy committed Sep 25, 2024
1 parent 5c66205 commit 2f8a1a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gems/ruby-qx/lib/qx.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def self.parse(expr)
str += expr[:WITHS].map do |with|
parse_with(with)
end.join(", ")
str += " " # add a splitting space before the rest of the query
end
if expr[:INSERT_INTO]
str += "INSERT INTO #{expr[:INSERT_INTO]} (#{expr[:INSERT_COLUMNS].join(', ')})"
Expand Down

0 comments on commit 2f8a1a3

Please sign in to comment.