ยฉ 2026 Hedgehog Software, LLC

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

Issue querying with relations in bun+sqlite

๐Ÿ‘‹ repro + context here - https://github.com/sammccord/drizzle-relations-repro
It seems like the query goes through fine, but the row comes back as json and not a list of values, so trying to access the fields by index won't work.

Not sure if it's a bun or drizzle issue, but since the query works fine it could be a simple parsing fix but I'm not 100% the best way to go about fixing it myself.
GitHub
GitHub - sammccord/drizzle-relations-repro
Contribute to sammccord/drizzle-relations-repro development by creating an account on GitHub.
GitHub - sammccord/drizzle-relations-repro
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

Querying relations
Drizzle TeamDTDrizzle Team / help
2y ago
Issue with CURRENT_TIMESTAMP bun:sqlite
Drizzle TeamDTDrizzle Team / help
2y ago
Issue Querying Table via Drizzle ORM with SQLite
Drizzle TeamDTDrizzle Team / help
2y ago
Bun:SQLITE error with drizzle
Drizzle TeamDTDrizzle Team / help
16mo ago