Replies: 2 comments
-
We are also considering creating a PR to create a new function for Postgres. Please let us know if there is an intention to not have these created. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Related to #51014 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using PostgreSQL and considering bulk registration and modification using Upsert or Insert.
In order to get a list of IDs of the added records, I would like to use PostgreSQL's Returning, but for the query builder, I could only find an implementation for one record.
insertGetId
https://github.com/laravel/framework/blob/11.x/src/Illuminate/Database/Query/Builder.php#L3651
Is there a reason why the functionality of returning IDs for multiple record inserts is not provided?
If necessary, I am considering contributing a new feature.
Beta Was this translation helpful? Give feedback.
All reactions