Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
post-it
· 4y ago · 0 comments
Are there any ORMs that do that currently? That sounds awesome
Comments
[–]
probablyrobert
4y ago
If you're wanting to automatically generate the Prisma Schema then all you have to do is create the schema file, define the datasource connection and then run `prisma db pull`
[–]
ChibiJoel
4y ago
Indeed!
https://www.prisma.io/docs/concepts/components/introspection
[–]
ParetoOptimal
4y ago
See F# and it's type providers.
[–]
camdenreslink
4y ago
Entity Framework allows you to do that (if you are coding for .NET). It is the best ORM I've encountered.
The option to do it is called "Code First from Database".
[–]
dpacmittal
4y ago
MikroORM can also auto generate schema from an existing database