Skip to content

How to get last inserted row ID? #707

Answered by vmihailenco
LDMFD asked this question in Q&A
Discussion options

You must be logged in to vote

The last inserted row ID should be automatically assigned on the model when it is inserted. LastInsertId is supported too if the driver provides it.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@LDMFD
Comment options

@LDMFD
Comment options

Answer selected by LDMFD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #700 on November 09, 2022 11:14.