© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•2y ago
Nick Harris

Custom aggregation column types

I have a custom column type with Drizzle for a monetary amount column (numeric PG type). The type is transformed into a "Big" type from a library, allowing me to do decimal-accurate math.
However, in aggregations like sum, it goes back to being a string. Is there a way to write custom aggregations as well?
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

Typescript error with custom column type
Drizzle TeamDTDrizzle Team / help
3y ago
Custom column type
Drizzle TeamDTDrizzle Team / help
16mo ago
Infering custom types
Drizzle TeamDTDrizzle Team / help
3y ago
help with column builder types
Drizzle TeamDTDrizzle Team / help
3y ago