On Monday 15 July 2002 01:27 pm, Kyler Laird wrote:
On Sun, Jul 14, 2002 at 11:07:44PM -0400, Casey Duncan wrote:
I imagine once I get time to get query objects off the ground, this capability will be part of the core. Until then, you could also use my CatalogQuery product which also has this capability (and more).
Of course! I now recall having seen this long ago when I was considering switching to using ZCatalogs. It is the cleaner answer to a few things I'm trying to accomplish. I'm installing it now.
Thank you!
--kyler
P.S. When will expression grouping be implemented? That would be a big help.
CatalogQuery is something of an evolutionary dead-end. I don't intend to enhance it any further myself. Implementing expression grouping would mean rewriting the expression parser entirely. The current implementation is just a dumb regex. What I do intend to do is implement a Python expression based query syntax so that I don't need my own expression parser. This is what query objects is all about. Query objects will be at a lower level than CatalogQuery is, but they will be much more powerful and allow you to easily write other query dialects on top of them. -Casey