You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After CMD + click'ing through TypeScript types, I'm burnt! There's so many types with generics it's hard to figure out what to do. This is the closet I got, which still gives some errors, but I'm hoping there a way to be less verbose for the columns:
Is there a simpler type helper that essentially says "this column is a SQLite integer" without having to pass so many specifics? My main concern is that as Drizzle receives updates, I may be missing required properties again.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to create a function that takes in a SQLite table that at least has the column {id: number}:
After
CMD + click
'ing through TypeScript types, I'm burnt! There's so many types with generics it's hard to figure out what to do. This is the closet I got, which still gives some errors, but I'm hoping there a way to be less verbose for the columns:Is there a simpler type helper that essentially says "this column is a SQLite integer" without having to pass so many specifics? My main concern is that as Drizzle receives updates, I may be missing required properties again.
Beta Was this translation helpful? Give feedback.
All reactions