Skip to content

Fix bun sqlite returning when using get #1276

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dardanbujupaj
Copy link

Fix returning with bun sqlite when using get.

Bun sqlite get returns an object, which is not handled well by the result mapper. By using values (but only the first index) we receive the needed array representation.

Fixes #1153

@adicco
Copy link

adicco commented Nov 9, 2023

It would be very neat to have this merged. 🚢

@dardanbujupaj dardanbujupaj force-pushed the fix/bun-sqlite-returning branch from ef47f5a to 85b7456 Compare November 16, 2023 23:46
@dardanbujupaj
Copy link
Author

Rebased onto main.
Is this even correct or should I change that to drizzle-kit:beta?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: returning fails in bun sqlite
3 participants