Closed sqlalchemy-bot closed 17 years ago
Michael Bayer (zzzeek) wrote:
the patch was very close...sorry i took so long with this. changeset:2081
Changes by Michael Bayer (zzzeek): removed "0.3.1" milestone
Changes by Michael Bayer (zzzeek): set state to "resolved"
Changes by Michael Bayer (zzzeek): set milestone to "0.3.1"
Changes by Michael Bayer (zzzeek): removed "2.0" version
Changes by Michael Bayer (zzzeek): changed priority from "major" to "critical"
Issue created by Dennis (Dennis)
Incorrect count results returned with the Query.count method when custom joins are passed to the count method. The count api should perform the same as the recent Query.select makeover.
Here is a test that compares the count to select results. I've included a function that is performing the same way the select function tackles the problem. I don't think this is the correct solution for everyone though but it works for this test case.