File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ Default value for this option is false.
160
160
destination_columns = [:title , :author ]
161
161
162
162
# Update duplicate rows (MySQL)
163
+
163
164
Book .bulk_insert(* destination_columns, update_duplicates: true ) do |worker |
164
165
worker.add(...)
165
166
worker.add(...)
@@ -203,6 +204,7 @@ worker.result_sets
203
204
worker.inserted_ids
204
205
```
205
206
207
+ <<<<<<< HEAD
206
208
## Ruby and Rails Versions Supported
207
209
208
210
> :warning : The scope of this gem may be somehow covered natively by the ` .insert_all ` API
@@ -227,6 +229,8 @@ The adapters covered in the CI are:
227
229
* postgresql
228
230
229
231
232
+ =======
233
+ >>>>>>> Return primary keys when using blocks or values
230
234
## License
231
235
232
236
BulkInsert is released under the MIT license (see MIT-LICENSE) by
You can’t perform that action at this time.
0 commit comments