Skip to content

Add missing QueryBuilder#insert(records) API - #8

Merged
jgaskins merged 1 commit into
jgaskins:masterfrom
concentric-health:add-missing-insert-api
Sep 30, 2026
Merged

jgaskins merged 1 commit into
jgaskins:masterfrom
concentric-health:add-missing-insert-api

Conversation

@mloughran

Copy link
Copy Markdown
Contributor

This is the non-bang version of QueryBuilder#insert(records)! which returns the inserted rows.

I noticed that CreateManyOperation#call was previously dead code (and broken), so this has been updated exactly matching the convention from CreateOperation#call, and specs added.

The alternative would be to delete CreateManyOperation#call.

This is the non-bang version of `QueryBuilder#insert(records)!` which returns the inserted rows.

I noticed that `CreateManyOperation#call` was previously dead code (and broken), so this has been updated exactly matching the convention from `CreateOperation#call`, and specs added.

The alternative would be to delete `CreateManyOperation#call`.
@jgaskins

Copy link
Copy Markdown
Owner

Thanks! This is exactly what was needed here.

@jgaskins
jgaskins merged commit 346575d into jgaskins:master Sep 30, 2026
30 checks passed
@mloughran
mloughran deleted the add-missing-insert-api branch October 2, 2026 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants