findOrFail
Finds and returns the first result for the given query or throws an exception if not found, this method delegates to the findIt()
method
Returns
This function returns any
This function could throw an EntityNotFound exception
Arguments
Key
Type
Required
Default
Description
query
string
No
---
The HQL Query to execute
params
any
No
{}
Positional or named params
timeout
numeric
No
0
ignoreCase
boolean
No
false
datasource
string
No
Examples
Last updated