diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2017-10-22 01:55:59 +0300 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2017-11-08 00:28:57 +0300 |
commit | bda30182e0d6c0be9f89e2e9a4e8b8325ad7ccb7 (patch) | |
tree | 495a3690aebdcd8c29cf27996210790f9c166695 /lib/feature.rb | |
parent | 44be82dd18c372862c2421a1934ff816f7cccd97 (diff) |
Add returning IDs to Gitlab::Database.bulk_insert
This adds the keyword argument "return_ids" to
Gitlab::Database.bulk_insert. When set to `true` (and PostgreSQL is
used) this method will return an Array of the IDs of the inserted rows,
otherwise it will return an empty Array.
Diffstat (limited to 'lib/feature.rb')
0 files changed, 0 insertions, 0 deletions