[Zope] ZCatalog and boolean values
Roland Schätzle
roland.schaetzle@adviion.de
Thu, 20 Jun 2002 18:24:06 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_0048_01C21887.A991EE40
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
I have an index on a boolean property named 'singlelang' in a ZCatalog. =
Searching for all objects having 'singlelang=3D"on"' ('true' is called =
'on' in Zope; I don't know why, but that's another story) is easy. But I =
also would like to be able to find all objects, where the property =
'singlelang' is 'false' (or 'off'). But this doesn't seem to be =
possible.
Is there any solution to this problem?
Roland
------=_NextPart_000_0048_01C21887.A991EE40
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D150171716-20062002><FONT =
size=3D2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=3D150171716-20062002><FONT =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D150171716-20062002><FONT size=3D2>I have an index on =
a boolean=20
property named 'singlelang' in a ZCatalog. Searching for all objects =
having=20
'singlelang=3D"on"' ('true' is called 'on' in Zope; I don't know why, =
but that's=20
another story) is easy. But I also would like to be able to find all =
objects,=20
where the property 'singlelang' is 'false' (or 'off'). But this doesn't =
seem to=20
be possible.</FONT></SPAN></DIV>
<DIV><SPAN class=3D150171716-20062002><FONT =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D150171716-20062002><FONT size=3D2>Is there any =
solution to this=20
problem?</FONT></SPAN></DIV>
<P><SPAN class=3D150171716-20062002><FONT=20
size=3D2>Roland</FONT></SPAN></P></BODY></HTML>
------=_NextPart_000_0048_01C21887.A991EE40--