Skip to content

Commit

Permalink
Update src/avram/bulk_upsert.cr
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Piechowski <[email protected]>
  • Loading branch information
robcole and grepsedawk authored Jan 12, 2022
1 parent fdca7c2 commit 0e7a40f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/avram/bulk_upsert.cr
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ class Avram::BulkUpsert(T)

private def fields
@records.first.insert_values.keys.map do |key|
<<-TEXT
<<-SQL
"#{key}"
TEXT
SQL
end.join(", ")
end

Expand Down

0 comments on commit 0e7a40f

Please sign in to comment.