fix(sql-drizzle): allow $count to be yielded as an Effect by vinicius507 · Pull Request #6068 · Effect-TS/effect
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 530
Open
vinicius507 wants to merge 4 commits intoEffect-TS:mainfrom
Open
fix(sql-drizzle): allow $count to be yielded as an Effect#6068
vinicius507 wants to merge 4 commits intoEffect-TS:mainfrom
fix(sql-drizzle): allow $count to be yielded as an Effect#6068
vinicius507 wants to merge 4 commits intoEffect-TS:mainfrom
Conversation
Copy link
vinicius507
commented
Feb 16, 2026
vinicius507
commented
Type
- Refactor
- Feature
- Bug Fix
- Optimization
- Documentation Update
Description
Patches drizzle's *CountBuilder so $count can be yielded as an Effect.
Related
vinicius507
requested a review
from tim-smart
as a code owner
github-project-automation
bot
added this to PR Backlog
github-project-automation
bot
moved this to Discussion Ongoing
in PR Backlog
Copy link
🦋 Changeset detected
Latest commit: 1a6c87d
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
| Name | Type |
|---|---|
| @effect/sql-drizzle | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Copy link
Author
vinicius507
commented
Feb 16, 2026
vinicius507 commented
Feb 16, 2026There seems to be an issue with MySql. I'm turning this into a draft until I fix this.
vinicius507
marked this pull request as draft
Always wrap raw statement results in an array for the execute callback, fixing MySqlSession.count() which expects res[0][0] nesting.
vinicius507
marked this pull request as ready for review
vinicius507 and others added 2 commits
February 16, 2026 17:33This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment