On Tue, 1 Aug 2000, Webmaster wrote:
> I have a bunch of zClass instances and I want to display only the ones that
> match all three criterion (approved=1, goLiveDate<=ZopeTime(), expired=0).

One way to accomplish this is by using ZCatalog.  Index those
properties, and specify your selection criteria in the Catalog
call.  If the properties change a lot, though, you are going
to increase the amount of data getting written to your FileStorage
on each change.


Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to