MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / rowsOf

Function rowsOf

telemetry-dashboard/src/api.ts:64–64  ·  view source on GitHub ↗
(result: D1Result | undefined)

Source from the content-addressed store, hash-verified

62 * being about rows rather than about array bounds.
63 */
64const rowsOf = <T>(result: D1Result | undefined): T[] => (result?.results ?? []) as unknown as T[];
65const firstOf = <T>(result: D1Result | undefined): T | undefined => rowsOf<T>(result)[0];
66
67// ---------------------------------------------------------------------------

Callers 6

firstOfFunction · 0.70
summaryFunction · 0.70
timeseriesFunction · 0.70
durationBucketSeriesFunction · 0.70
activationFunction · 0.70
retentionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected