MCPcopy
hub / github.com/prisma/prisma / keys

Function keys

packages/client/src/runtime/utils/deep-set.ts:5–5  ·  view source on GitHub ↗
(ks: string | string[])

Source from the content-addressed store, hash-verified

3// ensure the keys being passed is an array of key paths
4// example: 'a.b' becomes ['a', 'b'] unless it was already ['a', 'b']
5const keys = (ks: string | string[]) => (Array.isArray(ks) ? ks : ks.split('.'))
6
7// traverse the set of keys left to right,
8// returning the current value in each iteration.

Callers 2

deepGetFunction · 0.70
deepSetFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected