© 2026 Hedgehog Software, LLC

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

Filter on joined (with) tables

Is there any way to filter in a way like these using findFirst/findMany? (yes, screenshotting is not a good practice, sorry)

So basically I'm joining the "types" table (with: type). I only want to get entries where "types.slug" equals "test"
image.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

Order by on Joined Tables
Drizzle TeamDTDrizzle Team / help
12mo ago
How to filter by joined tables with Drizzle query syntax?
Drizzle TeamDTDrizzle Team / help
14mo ago
Query for Prisma like insert in multiple joined tables
Drizzle TeamDTDrizzle Team / help
3y ago
How can I filter on a joined table field (nested value) with the relational query syntax?
Drizzle TeamDTDrizzle Team / help
3y ago