On Wed, Jan 27, 2010 at 04:27:03PM +0000, Matthew Wilson wrote:
> Here's another solution -- instead of defining nonzero, what about
> defining __len__, so I could use this approach on both lists AND
> selectResults objects:

   http://sqlobject.org/FAQ.html#why-there-is-no-len

Oleg.
-- 
     Oleg Broytman            http://phd.pp.ru/            p...@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to