Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prisma/prisma
/ add
Method
add
packages/client-generator-registry/src/registry.ts:7–9 ·
view source on GitHub ↗
(generator: Generator)
Source
from the content-addressed store, hash-verified
5
#generators =
new
Map<string, Generator>()
6
7
add(generator: Generator) {
8
this.#generators.set(generator.name, generator)
9
}
10
11
addAliased(name: string, generator: Generator) {
12
this.#generators.set(name, generator)
Callers
15
defaultProxyHandlers
Function · 0.45
resolveNeeds
Function · 0.45
set
Function · 0.45
defineProperty
Function · 0.45
lots-of-relations.bench.ts
File · 0.45
runBenchmarks
Function · 0.45
seedDatabase
Function · 0.45
runBenchmarks
Function · 0.45
huge-schema.bench.ts
File · 0.45
typeNeedsGenericModelArg
Method · 0.45
buildTypedQueryTs
Function · 0.45
buildIndexTs
Function · 0.45
Calls
1
set
Method · 0.80
Tested by
3
runBenchmarks
Function · 0.36
seedDatabase
Function · 0.36
runBenchmarks
Function · 0.36