MCPcopy
hub / github.com/prisma/prisma / getGroupByName

Function getGroupByName

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

Source from the content-addressed store, hash-verified

46}
47
48export function getGroupByName(modelName: string): string {
49 return `${capitalize(modelName)}GroupByOutputType`
50}
51
52export function getAvgAggregateName(modelName: string): string {
53 return `${capitalize(modelName)}AvgAggregateOutputType`

Callers 2

getGroupByTypesMethod · 0.90

Calls 1

capitalizeFunction · 0.90

Tested by

no test coverage detected