$database->lastError()
Returns the last db error
$database->lastError(): Throwable|null
Return types
Throwableornull
This method modifies the existing $database object it is applied to and returns it again.
Returns the last db error
$database->lastError(): Throwable|null
Throwableornull
This method modifies the existing $database object it is applied to and returns it again.