MCPcopy
hub / github.com/prisma/prisma / getAvgAggregateName

Function getAvgAggregateName

packages/client-generator-js/src/utils.ts:52–54  ·  view source on GitHub ↗
(modelName: string)

Source from the content-addressed store, hash-verified

50}
51
52export function getAvgAggregateName(modelName: string): string {
53 return `${capitalize(modelName)}AvgAggregateOutputType`
54}
55
56export function getSumAggregateName(modelName: string): string {
57 return `${capitalize(modelName)}SumAggregateOutputType`

Callers 1

getAggregationTypesMethod · 0.90

Calls 1

capitalizeFunction · 0.90

Tested by

no test coverage detected