Generate classes/interfaces from existing schemas?
Messing around with drizzle, and I was wondering if there was any way to generate a class or interface derived from an existing schema? My database is currently managed out-of-band (not by drizzle), by another service, so writing schemas by hand again, is not really preferred. I looked around and couldn't find anything related to doing such a task. This would really help a lot when using drizzle.
1 Reply
There's an introspect command: https://orm.drizzle.team/kit-docs/commands#introspect--pull
List of commands – DrizzleORM
Drizzle ORM | %s