ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Teamโ€ข3y agoโ€ข
2 replies
Pieter

$dynamic() select

Hi, I'm trying to build a graphql wrapper for my drizzle datbase and was super stoked to see the $dynamic() query builder. However, doing joins in a wrapper is possible, but I don't see a way to do partial selects with the dynamic api.

https://orm.drizzle.team/docs/dynamic-query-building
https://orm.drizzle.team/docs/joins#partial-select

Is it somehow possible to add to the selection? (without managing selections externally)
Dynamic query building - Drizzle ORM
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
Joins [SQL] - Drizzle ORM
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
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

Dynamic select() query builder
Drizzle TeamDTDrizzle Team / help
12mo ago
Dynamic select with types?
Drizzle TeamDTDrizzle Team / help
3y ago
Select statement with dynamic fields
Drizzle TeamDTDrizzle Team / help
7mo ago
select
Drizzle TeamDTDrizzle Team / help
14mo ago