Repository navigation
feat: support distinct count - #11965
Conversation
commit: |
Code Review by Qodo
1. Spanner Category inserts fail
|
|
Persistent review updated to latest commit a0410c0 |
count in EntityManagercount in EntityManager to support DISTINCT
a0410c0 to
9f0ec68
Compare
|
|
Persistent review updated to latest commit 9f0ec68 |
1 similar comment
|
Persistent review updated to latest commit 9f0ec68 |
|
|
Persistent review updated to latest commit 3202523 |
3202523 to
2bf2026
Compare
count in EntityManager to support DISTINCT…ions in query builder
5442fa6 to
a159299
Compare
|
qodo's
|
70f5358 to
bceb1ee
Compare
bceb1ee to
819324b
Compare
smith-xyz
left a comment
There was a problem hiding this comment.
useful, glad this is getting added!



Closes #1186
Description of change
countfor find-optionsselect. Ifselectis present,countmethod uses selected columns for distinct counting. If noselect, old primary-column count path unchanged.relationsoption in the find-options needs to be there.relationLoadStrategy: querydoesn't make sense for count, as it fires separate queries (no-op).mysql,postgresdon't need hydration casting, butmssqltypes do need.toString().Pull-Request Checklist
masterbranchFixes #1186tests/**.test.ts)docs/docs/**.md)