Skip to content

Batch issue #83

Open
Open
@nqtien310

Description

@nqtien310

What's the difference between, I suppose the batch should only make 1 call to the DB but turns out it doesn't

Upsert.batch(connection, table_name) do |upsert|
  #N rows
  upsert.row({}, {})
end

and

upsert = Upsert.new(connection, table_name)
#N rows
upsert.row({}, {})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions