Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Note about batch mode #125

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ upsert.row(selector, setter)

### Batch mode

By organizing your upserts into a batch, we can do work behind the scenes to make them faster.
By organizing your upserts into a batch, we can do work behind the scenes to make them faster. __Right now__ this does not execute a bulk insert/upsert,
but this is planned for a future release (post 3.0.0).

```ruby
connection = Mysql2::Client.new([...])
Expand Down Expand Up @@ -125,7 +126,7 @@ See below for details about what SQL MERGE trick (emulation of upsert) is used,

(Assuming that one of the other three supported drivers is being used under the covers).

* add "upsert" to your Gemfile and
* add "upsert" to your Gemfile and
* run bundle install

```ruby
Expand Down