http://www.zope.org/Documentation/ZopeBook/SearchingZCatalog.stx ----- Original Message ----- From: "Peter Bengtsson" <mail@peterbe.com> To: <zope@zope.org> Sent: Sunday, April 21, 2002 16:02 Subject: [Zope] Search ZCatalog with wildcard
I want to search my ZCatalog like I do with SQL using LIKE and % wildcards.
return context.ZCatalog({'id':'peter%%'}) ...should return "peter.html", "peter.jpg", "peterblablabla" I think.
However this does not work. What is the syntax to do a wildcard search on a ZCatalog??
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )