Skip to content
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

[PG, MySQL, SQLite, SingleStore] Fix withReplica $count #3952

Open
wants to merge 2 commits into
base: beta
Choose a base branch
from

Conversation

AndrewJo
Copy link

Fixes #3951

This bug is present in all dialects supported by Drizzle. Tests have been updated to ensure there are no regressions when using $count with an instance returned by withReplicas function.

@AndrewJo AndrewJo changed the base branch from main to beta January 14, 2025 20:50
@AndrewJo AndrewJo force-pushed the fix-withreplica-$count branch from 845c207 to 2d56cab Compare January 14, 2025 20:50
When a Drizzle client is created using withReplicas function, the $count function is missing.
@AndrewJo AndrewJo force-pushed the fix-withreplica-$count branch from 2d56cab to 638b6ab Compare January 14, 2025 20:53
@AndrewJo AndrewJo changed the title [PG, MySQL, SQLite, SingleStore] Fix withreplica $count [PG, MySQL, SQLite, SingleStore] Fix withReplica $count Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: $count is undefined on withReplicas
1 participant