MCPcopy
hub / github.com/prisma/prisma / getMaxAggregateName

Function getMaxAggregateName

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

Source from the content-addressed store, hash-verified

62}
63
64export function getMaxAggregateName(modelName: string): string {
65 return `${capitalize(modelName)}MaxAggregateOutputType`
66}
67
68export function getCountAggregateInputName(modelName: string): string {
69 return `${capitalize(modelName)}CountAggregateInputType`

Callers 1

getAggregationTypesMethod · 0.90

Calls 1

capitalizeFunction · 0.90

Tested by

no test coverage detected