Skip to content

Commit

Permalink
Unify naming of more unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
snacks02 committed Sep 23, 2024
1 parent 5cc85f4 commit c2fd88b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/relations/collection.cr
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ module Cql::Relations
clear
Target.insert
.into(@target_table)
.values(ids.map { |_| {@key => @id} }).commit.rows_affected
.values(ids.map { |_id| {@key => @id} }).commit.rows_affected

@records = reload
end
Expand Down
2 changes: 1 addition & 1 deletion src/schema.cr
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ module Cql
# Schema.define
# ```
def build
@tables.each do |_, table|
@tables.each do |_tbl_name, table|
sql = table.create_sql
Log.debug { sql }
exec(sql)
Expand Down

0 comments on commit c2fd88b

Please sign in to comment.