> Which begs the question, can we add len() support since it
> seems so natural?
> On Tue, Jul 12, 2005 at 11:03:22AM +0400, Oleg Broytmann wrote:
> > Hello!
> > On Tue, Jul 12, 2005 at 04:56:17PM +1000, Andrew Bennetts wrote:
> > > This patch adds a __len__ to SelectResults
> > Don't do this. See
> > http://sqlobject.org/docs/News.html#sqlobject-0-5-1
> > for the explanation.
> [for the click-lazy, the explanation is: "__len__ gets called
> implicitly in several circumstances, like list(), which causes
> potentially expensive queries to COUNT(*)"]