DT
Drizzle Team•13mo 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•13mo ago
Omit<T, K> which comes in typescript 🙂
xamarot
xamarotOP•13mo ago
Ah thanks
Want results from more Discord servers?
Add your server