Function runPrismaCommand

  • Directly run a Prisma command.

    Parameters

    • __namedParameters: { command: string; ignoreExitCode?: boolean }
    • schemaFilePath: undefined | string

      Set to undefined to omit the --schema flag.

    • env: undefined | Record<string, string> = {}

    Returns Promise<Readonly<ShellOutput>>