transform INNER JOIN to LEFT OUTER

This commit is contained in:
Bilal
2020-04-29 16:52:54 +02:00
parent e0fae50584
commit f8352dcaa1
2 changed files with 5 additions and 3 deletions

View File

@@ -31,7 +31,6 @@ class TextToSqlQuery
def join_clause
return nil if @joins.empty?
return *@joins
end
@@ -109,6 +108,7 @@ private
result.gsub!(/\_/, '\_')
result.tr!('\\', '\\')
result.gsub!(/%/, '\%')
result.downcase!
result
end
end