© 2026 Hedgehog Software, LLC

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

advanced relational query builder

hey, i have a use case where i need to return rows from one table based on filters requiring on connected table

here's prisma equivalent code
await prisma.card.findMany({
  where: {
    // character is another table
    character: {
      element: '...'
    }
  }
})
await prisma.card.findMany({
  where: {
    // character is another table
    character: {
      element: '...'
    }
  }
})


how would this be possible with drizzle
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

Relational query builder in mysql?
Drizzle TeamDTDrizzle Team / help
3y ago
Typed “with” relations config on relational query builder
Drizzle TeamDTDrizzle Team / help
2y ago
Generated many Relations not available in Relational query builder.
Drizzle TeamDTDrizzle Team / help
11mo ago
How to use nested joins with relational query builder
Drizzle TeamDTDrizzle Team / help
2y ago