Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MongoDB Introspection does not output how many embedded documents were introspected #11827

Closed
Tracked by #8788
janpio opened this issue Feb 15, 2022 · 0 comments · Fixed by #11874
Closed
Tracked by #8788

MongoDB Introspection does not output how many embedded documents were introspected #11827

janpio opened this issue Feb 15, 2022 · 0 comments · Fixed by #11874
Assignees
Labels
Milestone

Comments

@janpio
Copy link
Member

janpio commented Feb 15, 2022

C:\Users\Jan\Documents\throwaway\migrationsTeam319 (main -> origin) (migrationsteam319@1.0.0)
λ npx prisma db pull --url mongodb+srv://user:password@cluster0.tagd6.mongodb.net/sample_analytics --force --composite-type-depth 2
Prisma schema loaded from prisma\schema.prisma
Environment variables loaded from .env
Datasource "db"

Introspecting …

✔ Introspected 3 models and wrote them into prisma\schema.prisma in 125.03s

Run prisma generate to generate Prisma Client.

but resulting schema file has 458x type:

C:\Users\Jan\Documents\throwaway\migrationsTeam319 (main -> origin) (migrationsteam319@1.0.0)
λ find /C "type" "prisma/schema.prisma"

---------- PRISMA/SCHEMA.PRISMA: 458
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants