incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Bondarenko" <>
Subject [allura:tickets] #6431 Upgrade to ming 0.4.x to avoid extraneous count() queries
Date Wed, 04 Sep 2013 08:42:38 GMT
- **status**: open --> in-progress


** [tickets:#6431] Upgrade to ming 0.4.x to avoid extraneous count() queries**

**Status:** in-progress
**Labels:** performance 42cc 
**Created:** Mon Jul 01, 2013 02:53 PM UTC by Dave Brondsema
**Last Updated:** Tue Sep 03, 2013 03:42 PM UTC
**Owner:** nobody

Ming 0.4 removes the `__len__` method which does a count() query.  This is so that list(query)
and query.all() don't cause that to run any more.

We'll need to find & change all our `len(query)` and `query|length` (in templates) to


Sent from because is subscribed to

To unsubscribe from further messages, a project admin can change settings at
 Or, if this is a mailing list, you can unsubscribe from the mailing list.
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message