query.count() should not count NULL primary keys

Issue #889 resolved
Mike Bayer repo owner created an issue

the criterion should be improved to not select primary keys that are null. mapper.allow_null_pks should be consulted as well.

Comments (3)

  1. Mike Bayer reporter

    I'd rather come up with some way to not need Query.count anymore on this one, there's already lots of ways it doesn't do what's expected

  2. Log in to comment