DT
Drizzle Team•10mo ago
xamarot

Omit fields on "$inferSelect"?

Let's say I have a table with 5 columns, I want to do type TableType = typeof theTable.$inferSelect; but omit some fields. How do I do that?
2 Replies
Nick
Nick•10mo ago
Omit<T, K> which comes in typescript 🙂
xamarot
xamarot•10mo ago
Ah thanks
Want results from more Discord servers?
Add your server