Snippets tagged “insert-get-id”
1 snippet uses this tag.
- How to get last insert id in Eloquent ORM laravelPHP
In Laravel, you can use the save method provided by Eloquent to insert a new record and retrieve the last insert ID.
1 snippet uses this tag.
In Laravel, you can use the save method provided by Eloquent to insert a new record and retrieve the last insert ID.