© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
DT
Drizzle Team
•
15mo ago
Alex DB
Get type of raw sql record
I want to use Supabase webhooks
(
https://supabase.com/docs/guides/database/webhooks
) but I
'm struggling to type the payloads
. Is there a way to access the raw sql record type from a drizzle schema
, before renaming
?
i
.e
. if my schema is
{firstName: text("first_name").notNull()}
{firstName: text("first_name").notNull()}
the type would be
{first_name: string}
{first_name: string}
.
Database Webhooks | Supabase Docs
Trigger external payloads on database events
.
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
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Raw sql nullable types, sql<Type | undefined>
DT
Drizzle Team / help
3y ago
Get the result raw sql
DT
Drizzle Team / help
3y ago
Get raw SQL string with parameters
DT
Drizzle Team / help
2y ago
pgTable - raw sql
DT
Drizzle Team / help
3y ago