MCPcopy
hub / github.com/prisma/prisma / sqlDirPath

Function sqlDirPath

packages/cli/src/generate/introspectSql.ts:20–22  ·  view source on GitHub ↗
(schemaRootDir: string)

Source from the content-addressed store, hash-verified

18}
19
20export function sqlDirPath(schemaRootDir: string) {
21 return path.join(schemaRootDir, SQL_DIR)
22}
23
24async function readTypedSqlFiles(typedSqlDirPath: string): Promise<IntrospectSqlInput[]> {
25 const files = await fs.readdir(typedSqlDirPath)

Callers 1

parseMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected