drizzle-orm
drizzle-orm copied to clipboard
[BUG]: bun:sqlite throws on empty results
What version of drizzle-orm
are you using?
0.26.5
What version of drizzle-kit
are you using?
0.18.1
Describe the Bug
Reproduction here:
- https://github.com/mindreframer/drizzle-bun-issue
Requires the fix for https://github.com/drizzle-team/drizzle-orm/issues/381 first for this issues to be surfaced.
Expected behavior
It should be possible to return empty results from the DB
Environment & setup
Nothing special, this is not related to Env / Setup
Bump. having this exact same issue with bun-sqlite
Bump, too recurring issue with bun .all()
query seems to always return null which is weird (makes bun-sqlite practically unusable to start a project without making manual seeding)
By the way sorry the have made pr #631 such incomplete
https://github.com/drizzle-team/drizzle-orm/pull/631#issuecomment-1577895541
Should be fixed in bun v0.6.8