I use TypeORM with Nest.js in my backend and I need a method to get the last row added to a table in order to get its id (not auto incrementing). My goal is to use it for API call and I need the id + 1.
I do not tried nothing yet because I couldn’t find a method in the TypeORM documentation that allows me to do what I want.
New contributor
Hakapichona is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.