* Executes the query and returns the first result or throws if * the query returned no result. * * By default an instance of NoResultError is thrown, but you can * provide a custom error class, or callback to throw a different * error.
(
options?:
| ExecuteTakeFirstOrThrowOptions
| ExecuteTakeFirstOrThrowOptions['errorConstructor'],
)
| 28 | * error. |
| 29 | */ |
| 30 | executeTakeFirstOrThrow( |
| 31 | options?: |
| 32 | | ExecuteTakeFirstOrThrowOptions |
| 33 | | ExecuteTakeFirstOrThrowOptions['errorConstructor'], |
no outgoing calls