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()}
the type would be {first_name: string}
.Database Webhooks | Supabase Docs
Trigger external payloads on database events.
0 Replies