all table definition type

Hi everyone! Is there possibility to obtain type of all defined models? I created helper function that takes one particullar table as parameter and would love to have it typed.
1 Reply
Angelelz
Angelelz12mo ago
All the tables have the types attached to them. See here https://orm.drizzle.team/docs/goodies#type-api
Drizzle ORM - next gen TypeScript ORM
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
Want results from more Discord servers?
Add your server