[Zope] Simple ZCatalog question
Dieter Maurer
dieter@handshake.de
Thu, 15 Mar 2001 21:09:51 +0100 (CET)
Tim Moore writes:
> OK, I searched through how-tos and any other documentation I could
> find, but I couldn't come up with an answer to this simple question,
> so I'm afraid I have to turn to the list.
>
> I'm trying to query a ZCatalog for objects where a particular property
> (which I'm cataloging as a FieldIndex) is not empty. I can't figure
> out for the life of me what the syntax to do this is :-)
I fear this type of query is not forseen:
you can try to emulate the query with a minimum range query and
a sufficiently small minimal value.
Look at the ZCatalog section in
URL:http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html
for details.
Dieter