MCPcopy
hub / github.com/prisma/prisma / cloneSql

Function cloneSql

packages/client/src/runtime/utils/deepCloneArgs.ts:37–39  ·  view source on GitHub ↗
(rawParam: Sql)

Source from the content-addressed store, hash-verified

35}
36
37function cloneSql(rawParam: Sql): Sql {
38 return new Sql(rawParam.strings, rawParam.values)
39}
40
41function cloneTypedSql(rawParam: UnknownTypedSql): UnknownTypedSql {
42 return new TypedSql(rawParam.sql, rawParam.values)

Callers 1

deepCloneArgsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected