Search
Setup for Free
DT
Drizzle Team
•
2y ago
iCode
helper function parameter type
I am trying to make a basic helper function that takes in a parameter
. I want the parameter type to be the same type as a column type
. I have a solution
, but is this the best way
?
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,794
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
Typing a helper function parameter to be a table with required column(s)
DT
Drizzle Team / help
3y ago
Type Helper to select fields
DT
Drizzle Team / help
2y ago
Type error: Type parameter has a circular constraint
DT
Drizzle Team / help
3y ago
Force parameter to be of certain type
DT
Drizzle Team / help
2y ago