MCPcopy
hub / github.com/prisma/prisma / getSelectName

Function getSelectName

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

Source from the content-addressed store, hash-verified

6import { GenerateContext } from './TSClient/GenerateContext'
7
8export function getSelectName(modelName: string): string {
9 return `${modelName}Select`
10}
11
12export function getSelectCreateManyAndReturnName(modelName: string): string {
13 return `${modelName}SelectCreateManyAndReturn`

Callers 4

toTSMethod · 0.90
buildSelectTypeFunction · 0.90
buildScalarSelectTypeFunction · 0.90
addSelectArgMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected