Good evening. Appreciate any effort to help me.
I use version 4 and I need to get the last insert id after I save the row in the database from the controller, in previous versions, there was a function
$orderId = $this->Orders->getLastInsertId();
in this version, it gives me a mistake,
Thank you