© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•2y ago•
3 replies
ak4zh

Column name different in drizzle magic sql vs drizzle-orm

I use
camelCase
camelCase
column names for the ORM and
snake_case
snake_case
for the databse columns.

Queries run through ORM returns camelCase columns but if I use
drizzle.execute(sql``)
drizzle.execute(sql``)
it results in snake_case columns any workaround ?
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

magic sql column naming
Drizzle TeamDTDrizzle Team / help
2y ago
Magic sql does not add table name in query?
Drizzle TeamDTDrizzle Team / help
11mo ago
SQL noob trying to make schema Drizzle ORM
Drizzle TeamDTDrizzle Team / help
3y ago
truncate table in drizzle-orm
Drizzle TeamDTDrizzle Team / help
2y ago