(result: D1Result | undefined)
| 63 | */ |
| 64 | const rowsOf = <T>(result: D1Result | undefined): T[] => (result?.results ?? []) as unknown as T[]; |
| 65 | const firstOf = <T>(result: D1Result | undefined): T | undefined => rowsOf<T>(result)[0]; |
| 66 | |
| 67 | // --------------------------------------------------------------------------- |
| 68 | // Days |
no test coverage detected