You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
huseeiin
changed the title
drizzle query (https://orm.drizzle.team/docs/rqb#modes) does not work with bun:sqlite?
drizzle query (https://orm.drizzle.team/docs/rqb) does not work with bun:sqlite?
Feb 16, 2024
I'm going to fix it with one of the PRs, so it won't be a blocker for anyone, but I believe bun:sqlite should have the possibility to run .raw() with .get(), enabling it to return an array of 1 array instead of 1 object already mapped. All other SQLite drivers have this capability, so I think bun:sqlite should have it too. So we don't need to use values and then get the first element; we can just have one raw response for performance purposes
What version of Bun is running?
1.0.26+c75e768a6
What platform is your computer?
Linux 6.1.66-1-lts x86_64 unknown
What steps can reproduce the bug?
https://github.com/huseeiin/bun-drizzle-bug-reprod
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: