keep mappings over field array values

This commit is contained in:
Bilal Catic
2020-01-31 19:23:10 +01:00
parent 3a828c6fe9
commit 91f699906a
2 changed files with 9 additions and 0 deletions

View File

@@ -10,6 +10,9 @@ class TextToSqlQuery
mappings[field_name.to_sym] = field
mappings
end)
fields_mappings.each do |field, value|
@fields_mappings[field] = value if @fields_mappings[field]
end
end
def where_clause