Laravel Tech Community
Jun 7, 2021 · Backend Development
PDO::lastInsertId – Returns the ID of the Last Inserted Row or Sequence Value
The PDO::lastInsertId method returns the identifier of the most recently inserted row or, when a sequence name is provided, the last value of that sequence, with behavior depending on the specific database driver and optional parameters.
BackendPDOPHP
0 likes · 2 min read
