Level 102
You cannot. If you need all the ID's, then you need to insert them one at a time.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello friends, how can I insert many records in the database using a query and then have all the IDs?
Please or to participate in this conversation.