Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Typing type Table based on my schema - Drizzle Team
DT
Drizzle Team
•
2y ago
•
1 reply
bernat
Typing type Table based on my schema
I
'm trying to abstract deleting rows for 4 of my tables
.
e
.g
.
deleteRow(schema.myTable, '123myid123')
deleteRow(schema.myTable, '123myid123')
how could I type the deleteRow function so it gives me type checks against my schema
?
Thanks
!
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Typing columns based on Table
DT
Drizzle Team / help
3y ago
Query a table based on related table
DT
Drizzle Team / help
3y ago
Table type
DT
Drizzle Team / help
15mo ago
Querying based on record in another table
DT
Drizzle Team / help
3y ago