MySQL Forums
Forum List  »  PHP

Re: getting the last IDs
Posted by: Peter Brawley
Date: July 20, 2017 10:20AM

You're aware that last_insert_id() is per-connection?

For the last N insert ids, either globally or per connection, you'll need to implement audit table tracking.

Options: ReplyQuote


Subject
Written By
Posted
Re: getting the last IDs
July 20, 2017 10:20AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.