[Zope3-Users] filter possibilities

Ivan Horvath i.horvath at alco.co.hu
Tue Sep 26 03:19:40 EDT 2006


Is there anybody out there?

why haven't i received any answer?
i thought this list is to raise question if i don't know something, and i need some help to continue my work with Zope3


*********** REPLY SEPARATOR ***********

On 25/09/2006 at 15:05 Ivan Horvath wrote:
Dear All,

i have to provide some filter function in our system.
i've checked the hurry.query solution

e.g.
obj1.property = "As Built Documentation"
obj2.property = "Planning Documentation"
obj3.property = "As Built Drawing"

i would like to filter my objects in the following ways:
filter for substring.
when i make a filter for this property with the following expr.: "As Built"
i would like to get obj1, obj3 back as result

how is it possible? query.Eq or AnyOf doesn't give back anything.

is it possible to filter for a contents of a property?
when i make a filter for "Documentation"
i would like to get obj1, and obj2

then i would like to filter of Date values?
how is it possible to filter for obj.created between today - 2 days and today + 3 days?




Best regards, 
    Ivan Horvath 
    Chief Programmer 
 
 Alcatel ISD 
 PMS 2000 Product Team 
 
 H-1116, Budapest 
 Kondorfa u. 10. 
 Tel.: +36 1 209 9546 
 Fax.: +36 1 209 9599 
 Mobil: +36 30 257 0235 
 VOIP: +49 511 676 478010 
 i.horvath at alco.co.hu 

Anyone who has never made a mistake has never tried anything new. 

/Albert Einstein/ 
Best regards, 
    Ivan Horvath 
    Chief Programmer 
 
 Alcatel ISD 
 PMS 2000 Product Team 
 
 H-1116, Budapest 
 Kondorfa u. 10. 
 Tel.: +36 1 209 9546 
 Fax.: +36 1 209 9599 
 Mobil: +36 30 257 0235 
 VOIP: +49 511 676 478010 
 i.horvath at alco.co.hu 

Anyone who has never made a mistake has never tried anything new. 

/Albert Einstein/ 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope3-users/attachments/20060926/141b396c/attachment-0001.htm


More information about the Zope3-users mailing list