On Jun 3, 2008, at 4:06 PM, Benji York wrote:

On Tue, Jun 3, 2008 at 3:45 PM, Sean Allen <[EMAIL PROTECTED] > wrote:

On Jun 3, 2008, at 1:32 PM, Benji York wrote:

On Tue, Jun 3, 2008 at 1:13 PM, Gary Poster <[EMAIL PROTECTED]> wrote:

What you *can't* do out of the box is ask "hey, what products have an attribute that points to this brand?". That's a back-reference, and that
needs solutions like the ones to which I was referring.

In other words: if you want an index of references (or any attribute for
that matter), you have to set it up (just as you would for a RDBMS).

but i could just loop over all the products checking the brand.

You could...

and if that statement doesnt set off alarm bells then i feel comfortable in
my understanding

...but you'd kill kittens, er no, you'd take an inordinate amount of time
to find things.  That's what indexes are for, after all.

unless it was a rather limited list of items...

if not how i managed to

1. misinterpret something and
2. how i managed to write code that actually supported that

I can't tell from here. ;)

neither can i til i dig up the code.

For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to