I know to get the last id I can use insertGetId() but I want to know how can I get the last inserted id through save() method.
insertGetId()
save()
order =
Try this once it worked for me where $mode->save(); was only returning true.
$mylastid = DB::getPdo()->lastInsertId();