factorylabs-activewarehouse-etl 0.9.1.4 → 0.9.1.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -60,7 +60,7 @@ module ETL #:nodoc:
|
|
60
60
|
conditions = []
|
61
61
|
row.each do |k,v|
|
62
62
|
if columns.nil? || columns.include?(k.to_sym)
|
63
|
-
conditions << "#{k} = #{conn.quote(v)}" unless skip?(k.to_sym)
|
63
|
+
conditions << "'#{k}' = #{conn.quote(v)}" unless (skip?(k.to_sym) || v.blank?)
|
64
64
|
end
|
65
65
|
end
|
66
66
|
q << conditions.join(" AND ")
|