$database->fail()
Sets the exception mode
Parameters
Name | Type | Default |
---|---|---|
$fail | bool |
true |
Return type
This method does not modify the existing $database
object but returns a new object with the changes applied. Learn more →