© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•14mo ago•
1 reply
manikandan

Select query return type seems weird

In the screenshot you can see I'm trying to query from user schema using findFirst(), but when I hover the result varaible to check the return type it is not of user schema type instead it shows some general type.

What might be the issue, am I doing anything wrong here?
Screenshot_2025-01-03_at_3.02.11_PM.png
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

conditional select return wrong type
Drizzle TeamDTDrizzle Team / help
2y ago
Get type for select query?
Drizzle TeamDTDrizzle Team / help
3y ago
Infer return type for relational query with pagination
Drizzle TeamDTDrizzle Team / help
3y ago
Query vs Select
Drizzle TeamDTDrizzle Team / help
3y ago