© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•15mo ago•
7 replies
johtso

How to types and parsing with raw sql

So I'm having to fall back to raw sql for a slightly gnarly query I'm doing.

What's the best way to make typescript happy, and get things like dates parsed properly?

Do I want something like mapWith? That seems to only be for a single value..
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How to specify types for raw sql statement?
Drizzle TeamDTDrizzle Team / help
13mo ago
Raw sql nullable types, sql<Type | undefined>
Drizzle TeamDTDrizzle Team / help
3y ago
Run Raw SQL with sql``
Drizzle TeamDTDrizzle Team / help
16mo ago
How to convert sql.raw`` to camelCase?
Drizzle TeamDTDrizzle Team / help
2y ago