lib/upsert/buffer/pg_connection.rb in upsert-0.1.0 vs lib/upsert/buffer/pg_connection.rb in upsert-0.1.1
- old
+ new
@@ -7,10 +7,10 @@
include Quoter
attr_reader :merge_function
def chunk
- return false if rows.empty?
+ return if rows.empty?
row = rows.shift
unless merge_function
create_merge_function row
end
hsh = row.to_hash